473,398 Members | 2,393 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,398 software developers and data experts.

Some basic Form related questions...

Hey Guys

How r ya? hey I am new in this thing and I think this is awesome place
to be in....

Say I want to ask you guys a question.
I need to know how can I produce a search button (search function) when
making a form. Say if I have a table containing ID, First Name, Last
Name, and email address then what I want it to do is to search the
table based on where the user wanting it to be...

you see I have two field, one is a normal text field and the other one
is drop down field containing categories of the above table. (ie. ID,
first name, last name, email) This is how it goes, the user is putting
say an ID and then using the drop down option, chooses the category
that she wants it to search in. and then press search...
How do we do that? I tried using the wizard but it then uses macro
which I don't really understand...
It is MS Office 2007.

Thank you kindly for your help guys...

Jan 18 '07 #1
1 1577
If you are using the new Access 2007, there is a Search box in the
horizontal scrollbar at the foot of your datasheet. You can just type a
value in there, and Access will find it in any field.

If you want to proceed with the approach you suggested (i.e. a combo to
select the field to look in, and a text box to enter the value to find),
see:
Find as you type
at:
http://allenbrowne.com/AppFindAsUType.html
You can download the zip file from that page, copy the combo and text box
onto your form, set one property, and it works from there.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"CodeGunnerLev1" <er********@gmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
Hey Guys

How r ya? hey I am new in this thing and I think this is awesome place
to be in....

Say I want to ask you guys a question.
I need to know how can I produce a search button (search function) when
making a form. Say if I have a table containing ID, First Name, Last
Name, and email address then what I want it to do is to search the
table based on where the user wanting it to be...

you see I have two field, one is a normal text field and the other one
is drop down field containing categories of the above table. (ie. ID,
first name, last name, email) This is how it goes, the user is putting
say an ID and then using the drop down option, chooses the category
that she wants it to search in. and then press search...
How do we do that? I tried using the wizard but it then uses macro
which I don't really understand...
It is MS Office 2007.

Thank you kindly for your help guys...
Jan 18 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all...
0
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all...
0
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all...
193
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
1
by: p988 | last post by:
What is the purpose of Trace.AutoFlush in a window form app? In a window form app, why needed calling "InitializaComponent()"? What're accomplished by such call? Other questions are related...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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...
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.