Hey guys,
I am trying to do a DLookup, but instead of using AND use the OR in a where clause. Below is the is the string and I cannot get it to work
The table could be coded with either Serve or XAServe. We had a system design change and switched to XAServe for some reason. Right now it returns no value. Any suggestions? Thanks
I am trying to do a DLookup, but instead of using AND use the OR in a where clause. Below is the is the string and I cannot get it to work
Code:
Me.txtdemand = DLookup("NIIN", "tblaccountnotes", "[acctnumber]= '" & Me.txtacctnum & "' AND [code]= 'Serve' OR 'XAServe'")
The table could be coded with either Serve or XAServe. We had a system design change and switched to XAServe for some reason. Right now it returns no value. Any suggestions? Thanks