I have a datasheet subform on an Access form and I want to allow the user to select a record via the record selector column at the far left, and then I'll process that in VBA code.
The problem is:
in the form_click event I can get Me.CurrentRecord OK and run with that,
BUT, clicking on a column header also fires this event and always returns CurrentRecord=1
and I can't figure out how to differentiate between actually selecting row 1 and clicking on a column header.
Any ideas? Thanks, DaveBo




Reply With Quote