Senin, 18 Januari 2016

Re: [MS_AccessPros] Re: Can't figure out my RS is blank



You apparently want to test if the DLookup returns anything.  If the lookup fails, DLookup will return a Null value.  The IsNull function returns a True if the value is Null and False if the value is something else.  Not IsNull is True when there is something returned.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)

On Jan 18, 2016, at 6:29 PM, [MS_Access_Professionals] <> wrote:


Great question about the variables!  all I can say is "noob alert" I am still learning why access works like it does.

Your addition of  "Not IsNull" worked.  

Can you explain WHY the Not IsNull code works.
Thank you for your insights and help!
Rohn Everson


Posted by: John Viescas <>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)



Tidak ada komentar:

Posting Komentar