Just create a combo box that looks up one or more fields in the table similar to the one that is already on the form for record navigation. Then use the button wizard to create a button to launch your form, and if it asks to limit the records based on a control on the current form, point it to the combo box.
It may be that you will have to create a different copy of your current form so that it does not load its own recordset. Just let it load the query with no parameters. The button that opens the form will supply the recordset, like:
Dim sPK As String
Dim sLink As String
Dim sForm As String
sForm = "MyForm"
sPK = Me.cboPKCombo 'check for a selection here
sLink = "[PKField] = '" & sPK & "'"
DoCmd.OpenForm sForm, , , sLink
This will open the form with one record. Then the user can use the combo on the form to look for other records. The after update event of the combo will need to refresh the recordset.
Did that help?
__________________
mmcdonal
Look it up at: http://wrox.books24x7.com
|