Query data to show up on Form

SteveGr

Registered User.
Local time
Today, 23:09
Joined
Aug 2, 2002
Messages
65
Hi all,

How do I get the query results to show on my form. I tried using a subform but the layout wasn't what I wanted so I thought to use individual text boxes to rearrange them to suit me. But not sure how to send the query info to the text boxes on my form.

Thanks, Steve
 
If I understand the question. . . No the records are already in a table that I am querying.
 
If you want your query to populate a form, you need to set the form's record source to the query.

Open the form in design view and click the properties button on the toolbar. Select the query name from the drop down list in record source.

The query will pull it's information from the table and in turn populate the form.

Does this answer your question?
 
I understand what you mean. But when I change the record source on the form to my query, a blank form shows up when I switch to Form view for some reason. when I remove the record source, all my controls are viewable again on my Form.
Any ideas

Thanks, Steve
 
If you would like to post the db, I'd be happy to look at it for you.
 
The database is too big for this Forum.

It's around 8 meg
 
Never mind, I think I got it.
I had to use a blank form without the combo boxes that I was using for setting the query criterea.
Thanks for you help!
Stevegr
 
Last edited:
SKWilliams,
I thought I had it but I guess I didn't
I emailed you the database.
 
Are you trying to display the results of the query in Form1 or Form2.
 
At first I had only Form 1 but split it into 2 forms because I thought that was my problem.
I am trying to query info from the "qryKBAPressData" and have it displayed on a form once I select criteria from the combo boxes.
 
Your query will not open. I receive a "failure to create file" error. The query appears to be corrupt. You may need to recreate the query.
 

Users who are viewing this thread

Back
Top Bottom