Solved

sending query results to a form

Posted on 2009-04-06
2
288 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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

778 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