Originally posted by: fritolays
Originally posted by: KLin
1. Create combo box in form header
2. make rowsource the list of projects (SELECT Project from tblProject Order by Project)
3. in the afterupdate event of the newly created combo box add the following code
__________
Me.RecordsetClone.FindFirst "[ProjectFieldName] = '" & [ComboBoxName] & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
[ComboBoxName] = Null
___________
[ComboBoxName] is whatever name you give the combobox in the other tab for it's properties.
[ProjectFieldName] is whatever the actual field name is of the project field within the table.
4. Nextel, done.
sweet, thanks a lot KLin.
I don't know much Access...
I tried it but it didn't work for it. Maybe I'm doing it wrong
Here's the code in my After Update:
Me.RecordsetClone.FindFirst "Project# = '" & Combo58 & "'"
Me.Bookmark = Me.RecordsetClone.Bookmark
Combo58 = Null
I get a syntax error in time expression
and in the combo box where the drop down arrow is.. it displays just the ID 1,2,3,4,5,etc. when I click on it.
I want to be able to input a number into the box and click a "search" button or pressing enter would bring up the project
if you provide a step by step in more detail, it will be really helpful.
I'll give this a shot tomorrow.. I'm leaving now. Thanks again