create record in table from subform

J

JohnLute

I have a database with many forms and subforms. For example,
sfrmPKCorrugatedHorizontalScores is a subform in
sfrmPKCorrugatedPhysicalAttributes which is a subform in frmPKCorrugated. All
linked by [txtProfileID].

The challenge is that in order to enter a record in
sfrmPKCorrugatedHorizontalScores a record must first exist in the tables
underlying sfrmPKCorrugatedPhysicalAttributes and also frmCorrugatad -
obviously. Since I know this "quirk" in the design it's easy for me to enter
a value in one of the subforms in order to create a record and then go back
and delete that value however this is clumsy and not at all what I'd want to
teach other users.

What event procedure do I need to write in sfrmPKCorrugatedHorizontalScores
that will create a record in the table underlying sfrmPKPhysicalAttributes?
I'm sure this can be done and I previously explored it here but with no
resolution.

Thanks for your time and interest!
 

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