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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

view form from query

Status
Not open for further replies.

flycold

Programmer
Jan 17, 2004
15
GB
hi

i have a button, when pressed shows a dialogue box for input (date) when i press enter the results are shown in a datasheet.

how do i get them to show up in a designed form?

flycold

 
Create a form based on the query and then open the form.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
i have that working, thanks

how do i re-run the same query so the user can input another date and have the results displayed in the same form?

at the moment i have a command button on the form which re-runs the query, but then what

flycold
 
If I understand you correctly, you have a parameter/prompt query that is the record source of your form. You can add a button on the form with code in the On Click event
Code:
   Me.Requery

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top