Q
Question Boy
Hi,
I am trying to setup a subform double-click event on a textbox to set the
focus on one of the main form's tabs forms and then goto a specific
recordset. Here is what I have but which is not working.
NumChng = Me.[ChgNum]
'Move focus to the appropriate control
Me.Parent.[118-Changements Main].SetFocus
'Retrieve the proper recordset
Set rs = Me.Recordset.Clone
rs.FindFirst "[118-20_Numéro du changement] = " & NumChng
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Set rs = Nothing
It pull the proper 'NumChng' value, and then does set the focus on the
tab/subform but I can not pull up the corresponding recordset. Can anyone
see my error?!
Thank you
QB
I am trying to setup a subform double-click event on a textbox to set the
focus on one of the main form's tabs forms and then goto a specific
recordset. Here is what I have but which is not working.
NumChng = Me.[ChgNum]
'Move focus to the appropriate control
Me.Parent.[118-Changements Main].SetFocus
'Retrieve the proper recordset
Set rs = Me.Recordset.Clone
rs.FindFirst "[118-20_Numéro du changement] = " & NumChng
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
Set rs = Nothing
It pull the proper 'NumChng' value, and then does set the focus on the
tab/subform but I can not pull up the corresponding recordset. Can anyone
see my error?!
Thank you
QB