B
Br@dley
I am a developer for a small software company. We have encountered the
following problem in Access2000 (ADP/SQL Server 2000)
(1) The REFRESH method for forms in an ADP does a REQUERY and does not
just save the current record.
How can we force a record to be saved on a bound form in an ADP?
We devised a method of storing the ID of the current record, requerying
the form, then use a RECORDSETCLONE to find the ID and then move back to
the initial record on the form. However, then we encounter the next
issue.
(2) When using a RECORDSETCLONE (as used in MS examples of how to search
and move to a record on a form using VBA code) after a REQUERY the
resulting recordset does not contain all the records. Doing a search for
a record that isn't within the first 100 or so records fails. If you
trace the code a line at a time it works.
How can we make sure the RECORDSETCLONE contains all records after a
REQUERY?
--
regards,
Bradley
A Christian Response
http://www.pastornet.net.au/response
following problem in Access2000 (ADP/SQL Server 2000)
(1) The REFRESH method for forms in an ADP does a REQUERY and does not
just save the current record.
How can we force a record to be saved on a bound form in an ADP?
We devised a method of storing the ID of the current record, requerying
the form, then use a RECORDSETCLONE to find the ID and then move back to
the initial record on the form. However, then we encounter the next
issue.
(2) When using a RECORDSETCLONE (as used in MS examples of how to search
and move to a record on a form using VBA code) after a REQUERY the
resulting recordset does not contain all the records. Doing a search for
a record that isn't within the first 100 or so records fails. If you
trace the code a line at a time it works.
How can we make sure the RECORDSETCLONE contains all records after a
REQUERY?
--
regards,
Bradley
A Christian Response
http://www.pastornet.net.au/response