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.
 
Top