G
Guest
Hi all,
I am looking to update a record in a table, but before the update is done, I
want to check the record to make sure certain criteria are met before it
updates. Is my only option using a DLookup? I ask as this has some lag time
going through the process of looking up the record.
I am using:
If DLookup("Field1", "Table1", "Field2=" & [Field2]) = 29 then
Do something
Else
Do something else
End if
Will a GoTo command work quicker or even be an option?
Thanks!
-gary
I am looking to update a record in a table, but before the update is done, I
want to check the record to make sure certain criteria are met before it
updates. Is my only option using a DLookup? I ask as this has some lag time
going through the process of looking up the record.
I am using:
If DLookup("Field1", "Table1", "Field2=" & [Field2]) = 29 then
Do something
Else
Do something else
End if
Will a GoTo command work quicker or even be an option?
Thanks!
-gary