I use DLOOKUP to check the dates in a table.
I use the following:
ch = DLookup("dateholid", "tblholid", "dateholid=#" & newdate & "#"
Some dates doesn't seem to work, i.e. when I check the dates 06/02/2001, 08/02/2001 11/05/2001, 12/05/2001 and some others, the ch returns NULL, even though the above dates are existing in the table tblholid. Some others like 13/02/2001 or 25/12/2001 are ok.
I would like to know if somebody else has faced a similar problem and If there are any ideas on how to overcome it.
Maria28gr
maria.karakiza@usa.net
I use the following:
ch = DLookup("dateholid", "tblholid", "dateholid=#" & newdate & "#"
Some dates doesn't seem to work, i.e. when I check the dates 06/02/2001, 08/02/2001 11/05/2001, 12/05/2001 and some others, the ch returns NULL, even though the above dates are existing in the table tblholid. Some others like 13/02/2001 or 25/12/2001 are ok.
I would like to know if somebody else has faced a similar problem and If there are any ideas on how to overcome it.
Maria28gr
maria.karakiza@usa.net