Microsoft
Software
Hardware
Network
Question : DLookup Code
I have a small problem, i think due to the fact that my table field names "product description" and "Item Ref" have spaces
Can anyone assist with the code correction?
ProductDescription = Nz(DLookup("Product description", "tbl_LookupItemMaster", "Item Ref = '" & Forms!frm_ComplaintForm!Pa
rtNo & "'"), "Not Listed")
Answer : DLookup Code
enc losed them in square brackets []
ProductDescription = Nz(DLookup("[Product description]", "tbl_LookupItemMaster", "[Item Ref] = '" & Forms!frm_ComplaintForm!Pa
rtNo & "'"), "Not Listed")
Random Solutions
SCCM Software Report By Major Revision
Error while attempting to uninstall SQL Server R2/VS2008
Accessing an NT4 Share from Server 2008
Gmail keeps hiding "all messages" label in the menu
How many types of pages r there in SQL Server?
Identifying creator of fake facebook page
Upgrade Sqlite in RHEL5.4
Integrating projects
How do I put integers into a string?
Digital signature control not visible