but it is not working. Still figuring it out ...
However, other fields such as: Document Version and Classification had worked ...
Thank you
">
Please, below is the code for the Date:
=DLookUp("[Date_Created]","Master Data","[Date_Created] = #" & Format([Datetxt],"dd-mmm-yyyy") & "#")
but it is not working. Still figuring it out ...
However, other fields such as: Document Version and Classification had worked ...
Thank you
On a slightly different topic: I always find it interesting when DLookup() is used in this manner. If you're trying to determine if a record exists, I prefer to use DCount() instead. Typically, DLookup() is used to "look up" a value that you may not know yet. For example, you can use DLookup() to look for a client's first name if you only knew their last name [DLookup("FirstName","Clients","LastName='Bond'"), or vice versa, look up their last name when you only have the first name. You wouldn't normally look up a client's name when you already know what it is: DLookup("ClientName","Clients","ClientName='James Bond'"); instead, you can use DCount("*","Clients","ClientName='James Bond'") to check if you already have a client with that name. Hope that makes sense...