I have a form with 2 unbound combo boxes, one for project name and one for project numbers. Project name gives a drop down box listing project names and project number gives a list by numbers. Both are getting the information from the same table. A sub form then updates from the choice of the combo box. All of this works fine. The thing I can't figure out how to do is update the other combo box based on the choice made, i.e, if I choose project number automatically update the project name combo box and vise-versa. Both boxes use the following macro in the After Update event:
SearchForRecord
Record First
Where Condition = ="[proj_no] = " & Str(Nz([Screen].[ActiveControl],0))
Any help would be appreciated.
SearchForRecord
Record First
Where Condition = ="[proj_no] = " & Str(Nz([Screen].[ActiveControl],0))
Any help would be appreciated.