rich.barry
Registered User.
- Local time
- Today, 23:39
- Joined
- Aug 19, 2001
- Messages
- 176
Can anyone tell me which is the faster of the following 2 methods, and whether the difference will be significant.
1) DLookup a field in a query
or
2) Open a recordset and see if it has a recordcount>0
All I'm trying to do is find out whether a record meeting certain criteria exists.
Also, is anyone able to elaborate on how DLookup works ( i.e. what makes it slow) so that I can gauge when to use it and when alternative code is advisable.
Thanks for the help.
Richard
1) DLookup a field in a query
or
2) Open a recordset and see if it has a recordcount>0
All I'm trying to do is find out whether a record meeting certain criteria exists.
Also, is anyone able to elaborate on how DLookup works ( i.e. what makes it slow) so that I can gauge when to use it and when alternative code is advisable.
Thanks for the help.
Richard