Thank you Albert, your suggestion is most
helpful.
If what I do is disable the "Record Selectors"
and substitute a button in its place, I think the
only impact would be to change the event from
double-click of the "Record Selectors" to a
single-click of the button. It might even be wise
to leave the user action as a double-click on the
button so that they don't have to change their
habits.
I'm not familiar with creating MS Access shortcut
menus, but I'd sure like to learn. If one were to
do that, are they then saddled with the task of
replacing the functional code behind what is there
by default? Like "cut", "copy", etc.?
Thanks,
Bill
----- Original Message -----
From: Albert D. Kallal
Newsgroups: microsoft.public.access.formscoding
Sent: Saturday, February 19, 2005 8:44 PM
Subject: Re: Right click?
If you are using a continues form, then all you have to do is place a
button
on the detail line, it will repeat.
The code behind the button to print the ONE detail record would be:
docmd.OpenReport "theReportWithDetils",acViewPrevew,,"id = " & me!id
And, if you don't want a preview..but want to send the one record to the
printer, then remove the above acViewPreview.
The above assumes you have made a nice report that displays all the fields
that you need from the one record.
You can see some screenshots of some continues forms with buttons that
repeat here:
http://www.members.shaw.ca/AlbertKallal/Articles/Grid.htm
I don't see any right-click
events listed in the form's property table.
You can also most certainly use a right click menu. A right click menu is
referred to as a "shortcut" menu. You specify which right click menu you
want to appear in the "other" tab of the forms properties sheet. You of
course have to create the right click menu first. Thus, if you are
familiar
in creating menus for ms-access, then this should be quite easy for you.
The "buttion" on the grid is likey less work..but either approach is quite
easy...