>I have created a main form and added two subforms. I have linked form1 to
>the main form using the Master Fields/Child Fields links. On form2 i wish to
[quoted text clipped - 5 lines]
>move my cursor through records in form1, synchroization of data with form2 is
>not happening.
Sorry for the delay.
Main form named frmPDE. It's recordsource is a table named tblRegions. The
fields in this table are: RegionID; RegionDescr
Text box on the main form based on the RegionDescr field, which the main
form is based on. I will use navigation button to move between records.
The first subform is named frmPDEMkts. Field List: RegionId; MktLEvel;
MktArea; MktArea; MktAreaDescr, etc. Link Child Fields: RegionId. Link
Master fields: RegionId
the second subform is named frmPDEData. Field List:
MktLevel;MktArea;ProdGrp, Currency, Jan, Feb, etc. Link Child Fields:
MktLevel;MktArea. Link Master Fields:
[frmPDEMkts].Form![MktLevel];[frmPDEMkts].Form![MktArea]
The subform frmMkts works with no problems, but i cant get the frmPDEData to
work. I loooked at the MS sample database, which had a similar
configuration. It was working, but it would not allow the user to change
records in the child form. I need to do that also. Any help would be
greatly apprciated. Thanks
The 1st subform is named frmPDEMkts.
> >I have created a main form and added two subforms. I have linked form1 to
> >the main form using the Master Fields/Child Fields links. On form2 i wish to
[quoted text clipped - 9 lines]
> to form1. If you'll explain how you're trying to do that,
> maybe someone will be able to straighten it out.
faberk - 09 Aug 2005 13:15 GMT
ugh...CORRECTION:
The first subform is named frmPDEMkts. Field List: RegionId; MktLEvel;
MktArea; MktAreaDescr, etc. Link Child Fields: RegionId. Link
Master fields: RegionId
> Sorry for the delay.
>
[quoted text clipped - 34 lines]
> > to form1. If you'll explain how you're trying to do that,
> > maybe someone will be able to straighten it out.
Marshall Barton - 09 Aug 2005 16:45 GMT
Right, the issue is that a Link Master needs to be a control
on the main form.
Add two hidden text boxes to the main form's header section.
Name them txtLevel and txtArea. Then add code to the
Current event procedure in frmPDEMkts:
Parent.txtLevel = Me.MktLevel
Parent.txtArea = Me.MktArea
I think that's all you need to do.

Signature
Marsh
MVP [MS Access]
>Main form named frmPDE. It's recordsource is a table named tblRegions. The
>fields in this table are: RegionID; RegionDescr
[quoted text clipped - 27 lines]
>> to form1. If you'll explain how you're trying to do that,
>> maybe someone will be able to straighten it out.