DLookup w/ rs as domain (1 Viewer)

casey

Registered User.
Local time
Today, 22:16
Joined
Dec 5, 2000
Messages
448
Hello,

Any ideas on how to set a recordset as the domain for a dlookup function?

I appreciate any thoughts...
 

pdx_man

Just trying to help
Local time
Today, 14:16
Joined
Jan 23, 2001
Messages
1,347
I wouldn't use the DLookup function ... I would use the .Filter method or .FindFirst with whatever criteria I would have normally used in the DLookup.
 

casey

Registered User.
Local time
Today, 22:16
Joined
Dec 5, 2000
Messages
448
Thanks for the response.

Can I use .Filter and then test for no records in recordset? I need to find whether a record matches a test condition and then update or add a new record depending on the test condition.
 

pdx_man

Just trying to help
Local time
Today, 14:16
Joined
Jan 23, 2001
Messages
1,347
Check out the .NoMatch keyword in Access Help. (As well as the FindFirst)
 

Users who are viewing this thread

Top Bottom