save RecordID

S

smk23

Is there a way to save the RecordID of a subform Record to a variable when
the record is selected or has the focus?

Thanks,

Sam
 
A

Allen Browne

You could use the subform's Current event procedure to save the primary key
value to a variable.

I can't recall needing to do that, Sam. It seems it would be easier to read
the value directly rather than get it from a variable.
 

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