save RecordID

  • Thread starter Thread starter smk23
  • Start date Start date
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
 
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.
 
Back
Top