05. december 2004 - 16:12Der er
7 kommentarer og 1 løsning
Hvordan anvendes GotoRecord i underformular med dataarkvisning
Hej
Jeg har en hovedformular med en underformular som er knyttet til en query. Undeformularen vises som dataark. Jeg har via egne knapper på hovedformularen lavet funktioner til at tilføje/redigere/slette data i den underliggende tabel. For at få opdateret visningen i underformularen bruger jeg Me.Requery og Me.Refresh
Alt det ovenover virker fint. Men jeg vil gerne, at den post jeg har tilføjet eller ændret på bliver den post som markøren står på i underformularen efter udførelsen af ovennævnte funktioner.
Jeg har cirkelt meget omkring DoCmd.GotoRecord ...... , men uanset hvad, får jeg fejlen "formularen ikke er åben". Jeg kan tilsyneladende ikke få forbindelse til underformularen. Hvad gør jeg. PS: DoCmd.GotoRecord løsningen virker fint, hvis jeg under test lægger en hændelse på underformularen og kører den selvstændigt.
I et inbound callcenter, hvor identiteten på den, der ringer ind, skal bekræftes, kan kontrollen nu foregå i telefonkøen. Det understøtter fem centrale KPI'er for callcentre.
expression Required. An expression that returns one of the objects in the Applies To list.
FindWhat Required Variant. An expression that evaluates to text, a number, or a date. The expression contains the data to search for.
Match Optional AcFindMatch.
AcFindMatch can be one of these AcFindMatch constants. acAnywhere acEntire default acStart If you leave this argument blank, the default constant (acEntire) is assumed.
MatchCase Optional Variant. Use True for a case-sensitive search and False for a search that's not case-sensitive. If you leave this argument blank, the default (False) is assumed.
Search Optional AcSearchDirection.
AcSearchDirection can be one of these AcSearchDirection constants. acDown acSearchAll default acUp If you leave this argument blank, the default constant (acSearchAll) is assumed.
SearchAsFormatted Optional Variant. Use True to search for data as it's formatted and False to search for data as it's stored in the database. If you leave this argument blank, the default (False) is assumed.
OnlyCurrentField Optional AcFindField.
AcFindField can be one of these AcFindField constants. acAll acCurrent default If you leave this argument blank, the default constant (acCurrent) is assumed.
FindFirst Optional Variant. Use True to start the search at the first record. Use False to start the search at the record following the current record. If you leave this argument blank, the default (True) is assumed.
Remarks For more information on how the action and its arguments work, see the action topic.
You can leave an optional argument blank in the middle of the syntax, but you must include the argument's comma. If you leave one or more trailing arguments blank, don't use a comma following the last argument you specify.
Example The following example finds the first occurrence in the records of the name Smith in the current field. It doesn't find occurrences of smith or Smithson.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.