how to disable right click in subform?
how to disable right click in subform?
Try setting ShortcutMenu property of form to No.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Then you didn't set the property of the subform, you set the main form property. Open the subform indpendently in design view.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Then will have to make a form with that table as its RecordSource to use as subform.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I do it and at form I disable right click, but at table that is subform, right click is allowed
Here is my project:
Database11.zip
Did you not understand my advice? Create a form with the table as its RecordSource and make that form the SourceObject of the subform container control.
Why do you even need a subform? why is the table not the RecordSource for the main form? Why do you have a system table as the RecordSource for main form?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
because I want to add buttons at form for searching & sorting subformDid you not understand my advice? Create a form with the table as its RecordSource and make that form the SourceObject of the subform container control.
Why do you even need a subform? why is the table not the RecordSource for the main form? Why do you have a system table as the RecordSource for main form?
Those buttons can be on the same form as the data you want to search. Review http://datapigtechnologies.com/flash...tomfilter.html
Set the form as Continuous View if you want a datasheet appearance. Controls can be arranged to look like datasheet. Put buttons in header or footer section.
Still doesn't explain why the main form is bound to a system table.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I find it: just need to go file > options > current database and disable Allow Default Shortcut Menus
Yes, that does it for everything. Thought you only want it for the one form. Glad you got it solved.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.