Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Software and Programs A place where you can share links to Windows applications , Adobe , Microsoft , Rapidshare , Megaupload..

Software and Programs Thread, Access 2003: Search criteria based on combo box and text field in Software & Hardware , Games; Hey there, long time reader first time poster! (If you know of a great advanced tutorial on Access, please let ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=28655


Reply
LinkBack Thread Tools Display Modes
Access 2003: Search criteria based on combo box and text field
 
 
Senior Member

Reply With Quote
 
Join Date: Dec 2008
Posts: 18,122
13-02-2009, 04:30 PM
 
Hey there, long time reader first time poster! (If you know of a great advanced tutorial on Access, please let me know. I know how to set up the basics, now I'd like to know how the program really runs) I'm currently working on a form that...

Hey there, long time reader first time poster!

(If you know of a great advanced tutorial on Access, please let me know. I know how to set up the basics, now I'd like to know how the program really runs)

I'm currently working on a form that allows users to search for equipment. The category of the equipment is slectable through a combo box, and the searched text is entered in a text field. The results are displayed in a list box.

What've I've tried is using a 'Find' button to enter this sql query into the RowSource of the list box:

Private Sub Equipment_Find_Click()

Me.Equipment_List.RowSource = "SELECT Equipment.Type, Equipment.Manufacturer, Equipment.Model FROM Equipment WHERE (((Equipment." & strQuote & Me.Equipment_Search_Category.Column(0) & strQuote & ")=" & strQuote & Me.Equipment_Find_Text & strQuote & "))ORDER BY Equipment.Type DESC;"

End Sub


The result i get is a pop up window with a text field. If i re-enter the text in that feild the info pops up nicely. What am I doing wrong, and how do i get rid of that popup?
 
 
 
Reply

Software and Programs Thread, Access 2003: Search criteria based on combo box and text field in Software & Hardware , Games; Hey there, long time reader first time poster! (If you know of a great advanced tutorial on Access, please let ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=28655


Bookmarks

Tags
2003, access, based, box, combo, criteria, field, search, text


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump