On Wed, 18 Jul 2007 13:34:01 -0700, Jaybird <UMUhtq5013> wrote:
>I appreciate the quick and straightforward reply. I've been struggling with
>this for a while. I've gone ahead and started over.
>I've cleared out any dubious queries that were acting as record sources and
>related the subforms directly to their underlying tables. I've also renamed
>all the subform controls to match the underlying subforms. The problem seems
>to be my relationship between subform LINPLAT and HDRPLAT. I cannot get
>HDRPLAT to update. I recreated this subform and placed it onto sbfHDRPLAT,
>and it seems to work fine. I hope that this answers my question, but I'm not
>entirely confident that it has. Let me play around with it and I'll let you
>know.
If each record in HDRPLAT relates to multiple records in LINPLAT, then you
need either a sub-subform (making HDRPLAT a Single view subform, since you
can't put a subform on a datasheet or continuous form); or do some pretty
tricky stuff with coordinated subforms.
>A final question: How do you relate two tables as one to many when the
>table on the many side has a multi field primary key?
If the one side has a single field primary key, you would simply use that
field as the Master link field and the corresponding single foreign key field
as the child link field. It makes no difference how many fields make up the
subform's table's primary key.
John W. Vinson [MVP]
|