Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default date property from query to form 1

Status
Not open for further replies.

thames11

Technical User
Feb 10, 2007
7
GB
Hi,

I have a form with two text boxes to enter a from and to date range. I would like the default value of the from text box to be the lowest date within the database and the default value of the to text box the highest date in the database. I can get the lowest and highest dates from a query but am unable to show within the form textboxes as default values. How can this be achieved, please?

Best regards,

Simon
 
how are ya thames11 . . .

In VBE help have a look at the [blue]DMax[/blue] & [blue]DMin[/blue] aggregate functions! . . .

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top