Kayleigh
Member
- Local time
- Today, 02:30
- Joined
- Sep 24, 2020
- Messages
- 709
Hi
Been looking for resolution for this issue but can't find any clear-cut solutions. Hope you can help!
The problem: I have a continuous form which is directory of all contacts. Double-clicking name opens a single form with all contact details. We would like to move to next or previous contact in the list but it would mean opening the contact list in hidden mode, moving to next record and then re-opening the single form. Is there any seamless way to go about this?
The current code:
Sure there's something simple I'm missing here...
Thanks in advance!
Been looking for resolution for this issue but can't find any clear-cut solutions. Hope you can help!
The problem: I have a continuous form which is directory of all contacts. Double-clicking name opens a single form with all contact details. We would like to move to next or previous contact in the list but it would mean opening the contact list in hidden mode, moving to next record and then re-opening the single form. Is there any seamless way to go about this?
The current code:
Code:
DoCmd.OpenForm "frmAccountList"
DoCmd.RunCommand acCmdRecordsGoToNext
lngID = Forms!frmAccountList!fldContactID
DoCmd.OpenForm "frmContact", , , "fldContactID=" & lngID
Forms!frmAccountList.Visible = False
Me.cmbMember = ""
Sure there's something simple I'm missing here...
Thanks in advance!