ACC1x: Setting Form's Dynaset Property Puts Bookmark at EOFID: Q90850
|
In Access Basic, you can make a copy of the dynaset that a
form may currently be using for data manipulation.
The syntax to accomplish this is:
Dim MyDB as Database
Dim MyDyn as Dynaset
Set MyDB = OpenDatabase("NWIND.MDB")
Set MyDyn = Forms!Categories.Dynaset
Before doing any further actions, the two dynasets should either be
synchronized or the bookmark should be set to the first record. This
is done with the following statement:
MyDyn.Bookmark = Forms!Categories.Bookmark ' Synch dynasets.
-or-
MyDyn.MoveFirst ' Move to first record.
Microsoft Access "Introduction to Programming," version 1.0, Chapter 8
Keywords : kbprg PgmObj
Version : 1.0 1.10
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: March 11, 1999