S
Simon
I've tried looking at other posts on this but actually think they are more
complicated than I require as most are using subforms.
I have a continuous form and against each record is an edit button which
opens a single form for the prupose of editing. This form is opened in
dialog and the main form requeries when I close the dialog form.
However I want to bookmark the record in the original form. There is an ID
(not visible) in both froms and this, I assume, is the control to use, if
only I knew how!
My code on the edit button in the main form is this:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Receipts Detail E"
stLinkCriteria = "[RDID]=" & Me![RDID]
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acDialog
Me.Requery
Can anyone tell me what additional code I need and where it should sit?
I am using Access 2003 and would be grateful of any help.
complicated than I require as most are using subforms.
I have a continuous form and against each record is an edit button which
opens a single form for the prupose of editing. This form is opened in
dialog and the main form requeries when I close the dialog form.
However I want to bookmark the record in the original form. There is an ID
(not visible) in both froms and this, I assume, is the control to use, if
only I knew how!
My code on the edit button in the main form is this:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Receipts Detail E"
stLinkCriteria = "[RDID]=" & Me![RDID]
DoCmd.OpenForm stDocName, , , stLinkCriteria, , acDialog
Me.Requery
Can anyone tell me what additional code I need and where it should sit?
I am using Access 2003 and would be grateful of any help.