AshikHusein
Registered User.
- Local time
- Today, 01:06
- Joined
- Feb 7, 2003
- Messages
- 147
I have created a form and I need to incorporate two boxes for dates.
Effectively it is to show the end user that the reports being analyzed are for a certain period.
To do this I have made a query which is based on the underlying table to be analyzed and this table has a date field for every record being entered in the table. The query generates the min. of the date and the max. of the date.
ON the particular form under consideration, I am trying to get these two dates ( the min. and the max.). So what I do is that I make a text box and under the control source property of the text box I link the min. field of the query (for the minimum of the dates of the table) and I repeat the process for the max. field.
I thus presume that these boxes will get bound to the particular query fields.
But what happens that when I see the form in 'form view' is that instead of giving me the min and max dates I get "#Name?" in the boxes Could anyone tell me what am I doing wrong or is there a better way to go about it?? Thanks.
Effectively it is to show the end user that the reports being analyzed are for a certain period.
To do this I have made a query which is based on the underlying table to be analyzed and this table has a date field for every record being entered in the table. The query generates the min. of the date and the max. of the date.
ON the particular form under consideration, I am trying to get these two dates ( the min. and the max.). So what I do is that I make a text box and under the control source property of the text box I link the min. field of the query (for the minimum of the dates of the table) and I repeat the process for the max. field.
I thus presume that these boxes will get bound to the particular query fields.
But what happens that when I see the form in 'form view' is that instead of giving me the min and max dates I get "#Name?" in the boxes Could anyone tell me what am I doing wrong or is there a better way to go about it?? Thanks.