K
Kruppy
I wrote a name seach routine to be sure a new name is not already in the
table. This routine changes a code, if necessary, so that the query in the
main table will include this record. My problem is that when I do a requery
it doesn't find the record unless I do this:
Me.Recordset.Requery
MsgBox ("delay a few seconds")
Me.Recordset.Requery
Me.Recordset.FindFirst "Name_ID = " & IDmode
without the 2 calls to requery (separated with the msgbox delay) the call to
FindFirst is not successful.
table. This routine changes a code, if necessary, so that the query in the
main table will include this record. My problem is that when I do a requery
it doesn't find the record unless I do this:
Me.Recordset.Requery
MsgBox ("delay a few seconds")
Me.Recordset.Requery
Me.Recordset.FindFirst "Name_ID = " & IDmode
without the 2 calls to requery (separated with the msgbox delay) the call to
FindFirst is not successful.