MackMan
Registered User.
- Local time
- Today, 04:45
- Joined
- Nov 25, 2014
- Messages
- 174
Hi guys.
I was wondering if there was a way to mimic a split form view, using my own design.
In other words..
I have one form with 2 subforms. The top subform is used to enter data.
The bottom subform shows ALL records, based on a query.
What I have set up so far is...
On the bottom sub form I click a record, and using
I can highlight the record in the top subform from the bottom one..
All works wonderfully.
Now What I'd like to do (like a split form) is just to highlight that record in the bottom subform if I'm editing it or scrolling though the top subform's records.
Is this possible? If so, how?
Many thanks...
I was wondering if there was a way to mimic a split form view, using my own design.
In other words..
I have one form with 2 subforms. The top subform is used to enter data.
The bottom subform shows ALL records, based on a query.
What I have set up so far is...
On the bottom sub form I click a record, and using
Code:
Dim lngID As Long
lngID = Me!TopLineID
[Forms]![frmmain]![frmMainTopLines].SetFocus
[Forms]![frmmain]![frmMainTopLines].Form![TopLineID].SetFocus
Docmd.findrecord lngID
All works wonderfully.
Now What I'd like to do (like a split form) is just to highlight that record in the bottom subform if I'm editing it or scrolling though the top subform's records.
Is this possible? If so, how?
Many thanks...