Solved

sending query results to a form

Posted on 2009-04-06
2
278 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
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 35 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now