Need help with subform sync (1 Viewer)

ksaab

Registered User.
Local time
Today, 18:23
Joined
Sep 25, 2002
Messages
38
Hello,

I am really stuck - I have a form of companies with a subform of contacts.

In the DB (SQL) the tables are related one to many CoKey to ContactCoKey.

How do I synch these so any new contact record automatically gets a "new" ContactKey as well as the related ContactCoKey?

Thanks,
 

WayneRyan

AWF VIP
Local time
Today, 23:23
Joined
Nov 19, 2002
Messages
7,122
K,

Either use the Master-Child links and let Access do all of the work.

Or, set the DefaultValue for the Child Key to:

Forms![YourMainForm]![Cokey]

Master-Child link is better.

Wayne
 

Users who are viewing this thread

Top Bottom