AddNew on a Recordset

M

Michael

Hi,

I have a Recordset (ADO, but willing to try DAO) that is
based on a Join Query that combines 2 tables.

I've been trying to use the AddNew method but am unable to
since, it wants the primary key created on the one side in
the 1-M relationship.

Is there a way for me to use the single recordset to add
the record? Or must I break it up into two recordsets and
first create the 1 side?

Thanks,

Michael
 
E

Elwin

I've always use 2 recordsets with a nested loop to
populate the many side of the relationship. I just think
its cleaner.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top