J
J Sedoff
I have a form using DLookup which should update after a user inputs data, but
currently sticks on whatever the previous Dlookup result from the previous
input was.
The user types in the date into the [Enter Date] form's [Text0] textbox
(which is formatted to "mm/dd/yyyy") and in textbox [Text4], I have the
ControlSource set to =DLookUp("Week","tbl2004CloseSchd","Date = [Text0]").
In the table [tbl2004CloseSchd], I have a fiscal week breakdown based on the
date (field name "Date" in a Date/Time format) and would like to retrieve the
week that contains the user's input date to use in several week-to-date
reports.
It works great when I open it initially, but once a user types in a new
date, nothing happens in the way of updating to reflect the correct week for
the new date.
Any suggestions/help would be incredibly appreciated! Thanks, Jim
currently sticks on whatever the previous Dlookup result from the previous
input was.
The user types in the date into the [Enter Date] form's [Text0] textbox
(which is formatted to "mm/dd/yyyy") and in textbox [Text4], I have the
ControlSource set to =DLookUp("Week","tbl2004CloseSchd","Date = [Text0]").
In the table [tbl2004CloseSchd], I have a fiscal week breakdown based on the
date (field name "Date" in a Date/Time format) and would like to retrieve the
week that contains the user's input date to use in several week-to-date
reports.
It works great when I open it initially, but once a user types in a new
date, nothing happens in the way of updating to reflect the correct week for
the new date.
Any suggestions/help would be incredibly appreciated! Thanks, Jim