Copy value of primary key to field in continuous form

H

hhholmes61

When I add a new record to a continuous form, how I can copy the value of the autonumber field (the PK) to the value for another number field for that same record?

This should only happen when a new record is added.

Thank you.
 
M

Mike Painter

When I add a new record to a continuous form, how I can copy the value of the autonumber field (the PK) to the value for another number field for that same record?

This should only happen when a new record is added.

Thank you.
Me!ThisField = Me!YourKeyField in an event would be what you want to do.
But this is not good design.
Why do you want to do this?
 

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