A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

creating search form



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2004, 08:46 PM
Tony
external usenet poster
 
Posts: n/a
Default creating search form

I need to create a form that will search records I have in a table. I want to have a text box where the user can enter the record id #. Then click a search button and the record and all of it's information is displayed in the bound text boxes.
  #2  
Old May 17th, 2004, 02:51 PM
Shiner452
external usenet poster
 
Posts: n/a
Default creating search form


There are several ways to do this...the easiest is probably this. Set
your forms recordsource to the table your data is in. Add a combobox
and select the 3rd choice in the wizard 'Find a record in a
table/query'. Select the ID# field as the data you wish to display.
Next, select all the fields whose data you wish to display and place
them in the form. Whenever you select an ID# all those fields will
show the information for that record. If your data is spread out
through more than one table, create a query for all the necessary
tables and base your form off that query.

Let me know if you need any more help.

Shiner


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.