S
Skunk
I open Invoice form from a Receipts form, updating Invoice form. Both are
open.
OnClose Invoice form I return to the Receipts form record, after Receipts
form requery.
My code is:
Forms![2frmPRReceipts].Requery
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "forms![2frmPRReceipts].form![txtInvNum] = " & Me![txtInvNum]
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
It is with high confidence that my issue is the FindFirst line.
I want to point to the Receipts form displaying the record that has the same
InvNum as the Invoice form I am leaving.
Will someone show me the correct syntax? Or what I have in error?
Thanks in advance.
open.
OnClose Invoice form I return to the Receipts form record, after Receipts
form requery.
My code is:
Forms![2frmPRReceipts].Requery
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "forms![2frmPRReceipts].form![txtInvNum] = " & Me![txtInvNum]
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
It is with high confidence that my issue is the FindFirst line.
I want to point to the Receipts form displaying the record that has the same
InvNum as the Invoice form I am leaving.
Will someone show me the correct syntax? Or what I have in error?
Thanks in advance.