i have a subform on a main form with no link child or master fields.The problem is whenever the main form is set to allow edits the subform requeries itself and goes to the first record.Editing is activated when i click button on the main form.I have a rough fix for it but not sure if its adequate enough.This is it
**********************************
On Error Resume Next
Dim nbr As Integer
nbr = Form_TransList.TransactionID
Me.AllowEdits = True
Form_TransList.RecordsetClone.FindFirst "TransactionId=" & nbr
Form_TransList.Bookmark = Form_TransList.RecordsetClone.Bookmark
Me.cboOptions.SetFocus
Me.cboOptions.Dropdown
**************************
This gets the record ID before the edits allowed and then goes to it later
I have checked everything possible
Any help gladly accepted
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
**********************************
On Error Resume Next
Dim nbr As Integer
nbr = Form_TransList.TransactionID
Me.AllowEdits = True
Form_TransList.RecordsetClone.FindFirst "TransactionId=" & nbr
Form_TransList.Bookmark = Form_TransList.RecordsetClone.Bookmark
Me.cboOptions.SetFocus
Me.cboOptions.Dropdown
**************************
This gets the record ID before the edits allowed and then goes to it later
I have checked everything possible
Any help gladly accepted
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)