Solved

sending query results to a form

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

696 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