Continous Forms Record Linking to Main Form

Z

Zachry1

On a Tab Control Main Form, the 1st form called Products displays on a
product by product basis.
The 2nd continous form called AllProducts is being used as a search and
display form. I have a button on each record to allow to delete that record
or to select that particular record to display on the 1st form, Products. The
code used below gives me errors each time I try the link. Can you help???

Dim strProductID As String

strProductID = Me!txtProductID
Parent!txtProductID.SetFocus
DoCmd.FindRecord strProductID
 
Top