473,396 Members | 1,734 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,396 software developers and data experts.

search another form from a main form

hi!

I am a newbie here, guys can you help me?? is it possible to search another form from a main form in access using vba? if yes, can you provide me some codes?

please reply. thanks!
Dec 17 '12 #1
3 1371
zmbd
5,501 Expert Mod 4TB
Oh of-course you can use a main form to pull information from a subform. The actual method may vary a bit depending on how the forms are related (or un-related) - in some cases with a parent-child relationship VBA isn't even a requirement.

You should do a search on this site for a ton of threads covering this topic and you should look at Filtering by Form

As for providing code... well, that is not what Bytes is about in that we're not a code writing nor homework service. Instead, if you will provide your work, we can help nudge you in the correct direction.
Dec 17 '12 #2
I have multiple forms and what i want to happen is that when i search on the main form, a specific form that i input on the text box will appear. I am new to access that's why i find it hard.
Dec 17 '12 #3
NeoPa
32,556 Expert Mod 16PB
Being new to Access is fine, and we'll help there where we can, but writing one-sentence posts with very little information in is hardly a result of your Access skills. Unless you can take some time and care over expressing what you actually want (clearly), then we are very restricted in what we can do for you.

Referring to Items on a Sub-Form will give you some ideas as to the structure and terminology of forms and subforms. Z has already provided a link with some other helpful information and explained that we cannot do your work for you from scratch.

If it's worth your time and effort putting together a properly expressed question (that certainly doesn't require any great experience with Access), then we will certainly offer some of ours in order to help.
Dec 17 '12 #4

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

Similar topics

1
by: iggie | last post by:
Hello, everyone. How can I display text from another form that currently has the focus. I'm doing a search in sql 2000, to dot it. I call a search form and query my criteria, when it founds the...
0
by: Olivier | last post by:
Hi, I have a (newbie)problem with a macro activated in a subform. That's the hierarchy in my form: Main form ----subform1 ----subform2 ----subform3 I have a macro that is called on...
3
by: gsb58 | last post by:
Hi! A mainform is being used to show records from a table in an sql database. A button on the main form will load a new form that allows the user to add, delete, update and search certain...
2
by: starke1120 | last post by:
I have a main form with a text box on it "txtSearch" onlost focus it updates another text box "txtSearchString" to include a quote and asterik before and after the value of txtSeach. I then...
6
by: Gerhard Heemskerk | last post by:
Hello, I have a button on the main form and the follwing code when you click on it. Though the last record is the sub form (datasheet view) is shown, the focus remains on the button...
2
by: campos | last post by:
Hi all, I ran into a headache problem. I have a windows form with a progress bar on it. Then I new a thread to do calculation for a long time. I want the progress bar to show the calculation...
1
by: BayZee | last post by:
I have a main form with a serach box and bound record boxes. When user enters criteria in a search box, the new form pops up that has a combo box with the list of accounts that satisfy search...
1
by: greenstein | last post by:
Hello, I really need some help. I have a main form in Access 2000, with a subform, some of the fields in the subform are not saving to the table. When I search the Main form for the information,...
4
beacon
by: beacon | last post by:
Hi everybody, I have a main form, frmDeficiency, that has a tab control, deficiencyTabControl, that has a subform, fsubEpisodeDetail, on page 2 of the tab control. I also have a command button...
1
by: Reva Harrison | last post by:
I was reading the post in the below link but have not had any success with my problem http://bytes.com/topic/access/answers/873006-subform-requery-not-working-main-form Main form name=...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.