Getting the value for the current record

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I was wondering if there was a way (or a function) to get
Access to give me the value of the current record (the one
the user is viewing), ie if the user is looking at FormA,
record 1, the value of the function (or whatever) would be
1?? Any help would be greatly appreciated. Thanks.
 
You should be able to use the form's currentrecord property for this.

In the current form it would be

lngRecord = Me.CurrentRecord
 
Back
Top