D
Dave
Hi,
I have a table named tblWeek with 2 fields: Week (text) and FirstDate
(Date/Time).
I have a form which calculates the first date of a week based on a users
input, then displays the corresponding week from tblWeek based on the result
in field [txtFDOW].
The dlookup statement is structured as:
DLookup("[Week]", "tblWeek", "FirstDate = #" & [txtFDOW] & "#")
In some cases I get a result, but in most, it is null. I know there is a
matching date in the table for these null results, but it's not showing up on
the form. I've tried me.repaint, me.requery, me.refresh and me.recalc all to
no avail...
Can anybody point me in the right direction please?
Thanks in advance.
Dave
I have a table named tblWeek with 2 fields: Week (text) and FirstDate
(Date/Time).
I have a form which calculates the first date of a week based on a users
input, then displays the corresponding week from tblWeek based on the result
in field [txtFDOW].
The dlookup statement is structured as:
DLookup("[Week]", "tblWeek", "FirstDate = #" & [txtFDOW] & "#")
In some cases I get a result, but in most, it is null. I know there is a
matching date in the table for these null results, but it's not showing up on
the form. I've tried me.repaint, me.requery, me.refresh and me.recalc all to
no avail...
Can anybody point me in the right direction please?
Thanks in advance.
Dave