Link to home
Start Free TrialLog in
Avatar of Patrick O'Dea
Patrick O'DeaFlag for Ireland

asked on

Microsoft Access - Stopping Control - (minus)

Hi,
I am using datasheets and subforms.

I have set the "Delete" property on the form to "No" to prevent users deleting records.

However, when the type "Control -"   (control minus) the screen then offers them the option to "Confirm Delete" and then will delete the record. Very worrying!

Can anyone supply a simple bit of VBA that will disable "Control -".
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

What version of Office are you running?  I have a datasheet configured in 2007 with Allow Deletes:No and no combination of Ctrl - "-" or any other key combination that I could find initiates a delete.
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Padraig O'Dea
Padraig O'Dea

Rey,   nice comment , you might be onto something there.
I experimented with the "Shortcut Menu" option on the form.

I found that setting it to "no" meant that the users could not go into design mode.
Interestingly, I then reset it on the forms concerned (I think).

But the "Control -" issues remains a problem,
I need to check this in more detail when I go to work tomorrow.
Avatar of Patrick O'Dea

ASKER

Thanks!