473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to lookup data from a "lookup form" to a subform within another form

I am trying to figure out how I can lookup data from a "lookup form" to a subform within another form.

I have one form that has an unbound field (the row source links to a table with the field to search on "Network Name") and a command button that opens another form with multiple subforms of details that I want to pertain to the search selection. The field being searched is within one of the subforms so the command button wizard doesn't work as the field isn't on the main form. What do I do to get my form to open with the data from my search selection within my "lookup form"
Oct 20 '11 #1
1 1643
Seth Schrock
2,965 Expert 2GB
Lets see if I understand the question correctly. You have a form (Form A) that has text box that is used as the criteria for a search, the results of which are displayed in the subforms on Form B.

If this assessment is correct, then you need to create a query for each of your subforms and whichever field contains the data that would match the value in the text box on Form A would have the criteria of
Expand|Select|Wrap|Line Numbers
  1. [Form]![Form A]![Text box name]
This will make it so that the subforms will contain the results of the search using the text box on Form A as the criteria.

If you would provide field names, I could give a more exact query structure. Let me know if you need some clarification.
Oct 21 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: James E | last post by:
I have a question about best practices of how to deal with lookup data from my C# apps. On a couple of occasions I have come across a problem where I have to automate inserting a record into a...
1
by: learner | last post by:
I made a form which as a subform on it. The subform has two columns. I want to access the column data in the subform through event control for example, OnDblclick event. If the subform displays...
5
by: Ellen Manning | last post by:
Using A2K. I need the syntax to set the recordsource for a subform within a subform. The "main" subform's recordsource changes based on user input. I need to change the recordsource on the...
3
by: jburris | last post by:
I have been through enough of these threads to think that this should be an easy fix... but, are there circumstances in which the following code syntax does not work? =!!.Form! (this is out of...
6
by: ryan | last post by:
I created in design view a subform within a subform. However the subform within the subform in only visible in design view. In form view the subform within the subform is not visible. I have...
0
by: srkartes | last post by:
Is it possible to have a data entry form in MS Access lookup data for display purposes only. For example, I have error codes associated with specific errors in "Table A" and "Table B" that data is...
0
by: M G Henry | last post by:
I am using Access 2003 and have a form with two subforms on them. I would like to be able to use a command button to add the row of data ( 5 fields ) that are completed on the subform, as well as...
5
by: bplantes | last post by:
I have a "Dashboard" in a tool I am building which has a list of different buttons. Clicking on each button will display different subforms which show up in a window to the right of the menu. One...
6
by: Ian Norris | last post by:
Hi, I am trying to load a number of records into a subform "Schedule Codes" from form "Certif" using the followowing code. Do While Not RS.EOF With RS Forms!!! = !GroupNo Forms!!! = !Code...
4
by: AdamOnAccess | last post by:
Here's a strange situation: I'm building an application that contains a One-To-Many relationship, and the application has a main form with a sub form to maintain the relationship for data entry. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.