subform link to mainform (1 Viewer)

AljayB

Registered User.
Local time
Yesterday, 16:00
Joined
Dec 2, 2015
Messages
19
hello,
I am just wondering if there is a way that one can create such a link between a subform and a main form, that if you select a field in the subform it would display the corresponding data to the main form?

I belive that could be done with the on enter or on exit event, however I am not that skilled in writing a vba code.

many thanks in advance!
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 00:00
Joined
Sep 12, 2006
Messages
15,710
@aljay

this sounds like a wrong concept. the point is that the subform is dependent on the mainform. There should not be any part of the subform that needs the mainform to navigate to a different record.

the mainform is actually the parent of the subform, so you can refer to the parent (parent! or parent. depending) from the subform.

what exactly are you trying to do?
 

Users who are viewing this thread

Top Bottom