G
Guest
I have a subform viewed in datasheet display where a user can conveniently
view the details of that record in single-form view (pop-up) by
double-clicking
the subform.
However, some users prefer a button on the main form that they can
single click after selecting a record in the subform
The tricky part is getting the main form to recognize:
1) if anything has been selected in the subform
2) what has been selected
how can I get the following code to recognize the above 2 conditions?
DoCmd.OpenForm "frmDetails", acNormal, , "ID = " &
Form_sbfrm_Tasks_Interface.ID
Also tricky, is that if a routine is written in the 'Click' Event it will
interfere with the 'double-click' event.
I know I saw an example of this somewhere, but I can't seem to find it.
view the details of that record in single-form view (pop-up) by
double-clicking
the subform.
However, some users prefer a button on the main form that they can
single click after selecting a record in the subform
The tricky part is getting the main form to recognize:
1) if anything has been selected in the subform
2) what has been selected
how can I get the following code to recognize the above 2 conditions?
DoCmd.OpenForm "frmDetails", acNormal, , "ID = " &
Form_sbfrm_Tasks_Interface.ID
Also tricky, is that if a routine is written in the 'Click' Event it will
interfere with the 'double-click' event.
I know I saw an example of this somewhere, but I can't seem to find it.