G
george
Hi to everybody,
Could someone please give me an example on the
LinkMasterfields/Chieldfields property, because the Access
help doesn't provide one.
My main form, frmMain, contains a TabControl with a
subform on it, fsubSubform.
There are 3 combo boxes on the main form whose value will
be linked with the corresponding 3 textboxes on the
subform.
The 3 combo boxes are cbo1, cbo2, cbo3 and the 3 textboxes
are txt1, txt2, txt3. In order to link *programmatically*
the three pairs what do I do?
I have used something along the lines:
fsubSubform.LinkMasterFields _
cbo1.value;cbo2.value;cbo3.value
fsubChooseSubform.LinkChildFields txt1;txt2;txt3
but of course this is wrong syntax. Can someone please
help me to get it right?
thanks a lot in advance, george
Could someone please give me an example on the
LinkMasterfields/Chieldfields property, because the Access
help doesn't provide one.
My main form, frmMain, contains a TabControl with a
subform on it, fsubSubform.
There are 3 combo boxes on the main form whose value will
be linked with the corresponding 3 textboxes on the
subform.
The 3 combo boxes are cbo1, cbo2, cbo3 and the 3 textboxes
are txt1, txt2, txt3. In order to link *programmatically*
the three pairs what do I do?
I have used something along the lines:
fsubSubform.LinkMasterFields _
cbo1.value;cbo2.value;cbo3.value
fsubChooseSubform.LinkChildFields txt1;txt2;txt3
but of course this is wrong syntax. Can someone please
help me to get it right?
thanks a lot in advance, george