Sure, here the overview.
But first you MUST remove any Primary keys on your table or this Will NOT work. You can sort the fields but you can't have a primary key.
Here is a link to my WEB site which has a screen capture of something similar.
OK, Create a new form, from your table using the form Wizard
Open the new form in design view and move all of the fields down a few inches to allow for a subform.
Add a subform and make its recordsource the exact same as your main form.
Open the subform in design view and open the On_Click event of the sub form
Add this code:
Dim SyncCriteria As String
Dim f As Form, rs As Recordset
'Define the from object and recordset object for the AutoCAD form
Set f = Forms(Screen.ActiveForm.FormName)
Set rs = f.RecordsetClone
' define the criteria used for the sync
SyncCriteria = "[YourField]='" & Me![YourField] & "'"
' find the corresponding record in the Parts table
rs.FindFirst SyncCriteria
f.Bookmark = rs.Bookmark
Save the sub and close it
Now open the main form in design view
You should see all of the records in the sub form
Click in the little gray square to the far left of the record you want.
If you look at my Image above, you will see a black arrow in the square I’m talking about.
This and only this will trip the On-Click event of the sub form.
Next you should see the main form setting on that same record.
I make 99.5% of all my Access forms like this
Users absolutely love it.
;-) DougP, MCP
dposton@universal1.com
Ask me how Bar-codes can help you be more productive.
Or visit my WEB site