G
Guest
I have a main form Form1 with another form Form2 that gets opened as a popup
from a button on Form1. I want to know the best way to link these in a
one-to-one relationship, so the data in Form2 relates to the data in Form1
through a shared key (ID).
The way I've tried so far is to put a button on Form1 that opens Form2 and
filters by ID. But I don't know how to manually set Form2.ID to the same as
the current Form1.ID.
I've also thought about making Form2 a subform of Form1, but I don't know
how to open a subform as a popup through a button.
Any suggestions?
from a button on Form1. I want to know the best way to link these in a
one-to-one relationship, so the data in Form2 relates to the data in Form1
through a shared key (ID).
The way I've tried so far is to put a button on Form1 that opens Form2 and
filters by ID. But I don't know how to manually set Form2.ID to the same as
the current Form1.ID.
I've also thought about making Form2 a subform of Form1, but I don't know
how to open a subform as a popup through a button.
Any suggestions?