?
Solved

sending query results to a form

Posted on 2009-04-06
2
Medium Priority
?
307 Views
Last Modified: 2012-06-27
Hi all,

I have created a form that simply allows you to search for a specific record, it takes the value of what ever is entered in a search box and runs a query against that value to find the specific record.  All sounds simple to far and this query is working fine.... however, I now want to send that record information that it finds and display all the values on a pre-defined form that is already designed.... what code do I use to do this??

What code do I use to send those query results to a partiular form?

Many thanks,

Bob...
0
Comment
Question by:bob_the_builder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 140 total points
ID: 24075687
You set the results form recordsource to your query.
Instead of running a query from your search form, you use the same button to open the results form.
0
 
LVL 10

Author Closing Comment

by:bob_the_builder
ID: 31566947
You legend!!!

Thank you!! Simple when you know how eh.... :-)

Thanks again,

Bob...
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question