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!

Query display on a form

Status
Not open for further replies.

lous

Technical User
Mar 8, 2002
53
US
I have a database that has two forms, two tables, and a query. Here's what I would like it to do, but can't figure out how to do it.

The first form contains an account number text box. After the person types in this account number, it should run a query that pulls the name and address from another table.

I can get it to work by clicking a button and showing that information in a subform, but I need to display on the main form instead.

How can I get the information from that query to show up on the main form?? Perhaps I'm making it much more difficult than it really is.

Can anyone help?

Thanks
 
you could build a form based on the query and use that as your main form

Dave
ToeShot@Hotmail.com
Today Is Tomorrows Yesterday. So Why Wait
 
This does work, except for one problem. One of the recordsets is not updateable and the other is just a table that should be updateable.

Now with the two combined, for some reason, it thinks that the table that is supposed to be updateable can't be updated.

So now I can get the information displayed on the form as I wanted, but I can't change anything at all on the form.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top