Deverry
Registered User.
- Local time
- Today, 22:10
- Joined
- Aug 1, 2002
- Messages
- 10
I have a form with a checkbox field. When the checkbox = true I want a popup box that asks for additional information (data to go to the same underlying table or as a sub-table).
I am able to get the popup box to activate via code in the After Update
If Me.SP = True Then
DoCmd.OpenForm "frmSponsorshipDetails", acnormal, "", "", , acNormalWindow
End If
End Sub
Two problems seem to occur with this.
1. Records are not synchronised ie subform always defaults to record 1
2. Once I've closed the sub-form and try to create a new record I get an
error msg stating that someone else has made changes to record.
I have identical ID fields in both forms - how do I get the forms to link and work together?
Or must I use a sub-form? If so is there any way to make the sub-form a pop-up box?
As ever, am slow to grasp the complexities of coding *sigh*
Lukim
Dev
I am able to get the popup box to activate via code in the After Update
If Me.SP = True Then
DoCmd.OpenForm "frmSponsorshipDetails", acnormal, "", "", , acNormalWindow
End If
End Sub
Two problems seem to occur with this.
1. Records are not synchronised ie subform always defaults to record 1
2. Once I've closed the sub-form and try to create a new record I get an
error msg stating that someone else has made changes to record.
I have identical ID fields in both forms - how do I get the forms to link and work together?
Or must I use a sub-form? If so is there any way to make the sub-form a pop-up box?
As ever, am slow to grasp the complexities of coding *sigh*
Lukim
Dev