Hello, I am sorry..this may be long and confusing. Ill do my best.
I have an issue concerning a text box with a Dlookup value. It is on a continuous form which uses a parameter query as its record source. The parameter is date. So I would open the form, select a date, and the form only shows data associated with that date.
Say tableX is a list of accounts with different dates and amounts
On each line of data on the form (which would be account, date, amount, etc), I would like to bring back the max date and amount associated with that account from tableX, into a text box. I've created 2 queries that pull the data like I want, but the Dlookup doesnt seem to be working correctly. The Dlookup appears to be filtering by the date used in the parameter query behind the form, instead of what the query I made is pulling.
When I actually open the query, the data is what I need.
Am I doing something wrong, or is this because the form is filtering by date?
I have an issue concerning a text box with a Dlookup value. It is on a continuous form which uses a parameter query as its record source. The parameter is date. So I would open the form, select a date, and the form only shows data associated with that date.
Say tableX is a list of accounts with different dates and amounts
On each line of data on the form (which would be account, date, amount, etc), I would like to bring back the max date and amount associated with that account from tableX, into a text box. I've created 2 queries that pull the data like I want, but the Dlookup doesnt seem to be working correctly. The Dlookup appears to be filtering by the date used in the parameter query behind the form, instead of what the query I made is pulling.
When I actually open the query, the data is what I need.
Am I doing something wrong, or is this because the form is filtering by date?