Hi Stephen
Jumping in here in a most rude & inappropriate way ...
Do you know if there is any way to attach a custom popup menu to the
right-click action of a query datasheet that is generated at runtime?
I generate new stored queries at runtime as part of an end-user adhoc
reporting tool. I display the selected query datasheet using openquery. This
is in an MDE with the option turned OFF which allows the standard
right-click menus. I want to attach a previously created custom popup menu
to the right-click action of the displayed query datasheet.
I can reference the open datasheet using ActiveDataSheet (or whatever it
is). I can even set it's OnClick property to "=Msgbox(999)", and see that
message appear when I click the top-left corner of the datasheet! But I
can't for the life of me see how to attach my custom popup menu, at runtime,
to the right-click action of the active datasheet.
Any ideas? (Again, apologies for jumping in here ...)
TIA,
TC