OK, never mind my last. Here's how I would handle your problem.
1) Delete the NPN and OPN buttons, and NPN and OPN combo boxes.
2) Put an option group on your form. Let the option group wizard step you through it.
a) at the first wizard screen, create names for the 2 options, something like "Search by NPN" and "Search by OPN"
b) on the next screen, select "Search by NPN" as the default choice
c) leave the values as they are on the next screen
d) on the next screen, select "Save the value for later use"
e) take your pick on the next screen, however, I used toggle buttons in my test
f) on the next screen, name the frame whatever you want or just accept the default, then you're finished
3) Put a new combo box on your form. Let the combo wizard step you through it
a) at the first wizard screen, select "Find a record on my form based on the value I selected in my combo box"
b) on the next screen, select your data source (should be the same one as your form)
c) on the next screen select "NPN" (or the field name that corresponds to NPN)
d) on the next screen, if your table has a primary key such as an autonumber field, leave the "Hide key column" box checked, otherwise uncheck it
e) on the next screen enter a name for your combo box, then you're finished
4) Select the option group frame that you created earlier. Create an event procedure in the After Update event and insert code that looks something like this:
Code:
Select Case Me!grpMyOptionGroup
Case 1
Me!cmbSearchCombo.RowSource = "SELECT RecID, NPN FROM tblMyProjects ORDER BY NPN"
Case 2
Me!cmbSearchCombo.RowSource = "SELECT RecID, OPN From tblMyProjects ORDER BY OPN"
End Select
Me!cmbSearchCombo.Requery
Me!cmbSearchCombo = Null
... where "grpMyOptionGroup" is the name of your option group control, "cmbSearchCombo" is the name of your combo box, "RecID" is the name of the primary key field (autonumber?) in your table (if it exists); "NPN" is the name of your new project number field, and "OPN" is the name of your old project number field.
This way you can search your table either by NPN or OPN, and since both NPN and OPN text boxes are still on the form, cross-referencing is easy. If you don't want users to edit the OPN, I'd set its Locked property to "yes".
Post back if you have questions.
HTH...
Ken S.