J
Jason
I'd have a single form that contains n number of records.
After the user enters data into the nth record, I'd like
the form to close.
I'm using the code below which works sometimes, but more
often than not fails. It is in the after update event of
the unbound text box where the user is entering data (this
is the only entry field on the form.)
Any help would be appreciated!
Thanks in advance,
Jason
Set rst = Me.RecordsetClone
rst.MoveNext
If rst.EOF Then
DoCmd.Close acForm, "frmTestByIPC2"
End If
rst.Close
Set dbs = Nothing
After the user enters data into the nth record, I'd like
the form to close.
I'm using the code below which works sometimes, but more
often than not fails. It is in the after update event of
the unbound text box where the user is entering data (this
is the only entry field on the form.)
Any help would be appreciated!
Thanks in advance,
Jason
Set rst = Me.RecordsetClone
rst.MoveNext
If rst.EOF Then
DoCmd.Close acForm, "frmTestByIPC2"
End If
rst.Close
Set dbs = Nothing