backspace key (1 Viewer)

lacampeona

Registered User.
Local time
Today, 21:31
Joined
Dec 28, 2015
Messages
392
Hello everybody

i have some problems.

I write a database which will store some result. The results are in the table.

i want that my table is save so i want to disable some buttons ( on the keyboard and on the mouse) that users cant use and here i have problems,

I cant disable the backpace key. i try everythinb but is not working,

i try these.


i have macro called Autokeys and inside that i write the folowwing

submacro {BACKSPACE}
and then message box this button is not available.


can somebody help me? is another way that i can use to protect my table?

i already disable delete button, copy, cut.

but how to disable backspace button?

i alredy also now to disable ribbon bar but is any other way ? i know that you can also hide the tables.,..but for me the tables are very important and i want to user can see it. in the form he enter the information and then in the table he can see it.

please help mee

thank you
 

Ranman256

Well-known member
Local time
Today, 15:31
Joined
Apr 9, 2015
Messages
4,337
open the table as read only.
docmd.OpenTable tbl,,acReadOnly
or
set the query to snapshot (read only)
 

lacampeona

Registered User.
Local time
Today, 21:31
Joined
Dec 28, 2015
Messages
392
hello

thank you for you fast reply? where i have to put this<?

i have to create a module? and where i have to put the name of my table?

thank you
 

sneuberg

AWF VIP
Local time
Today, 12:31
Joined
Oct 17, 2014
Messages
3,506
For forms you can set the RecordSet Type to Snapshot in the forms properties under the Data tab.
 

lacampeona

Registered User.
Local time
Today, 21:31
Joined
Dec 28, 2015
Messages
392
hello

i try it everythhink and steel dont work

i dont know why the submacro of backspace do not work..

the backspace button is still deleting...
 

sneuberg

AWF VIP
Local time
Today, 12:31
Joined
Oct 17, 2014
Messages
3,506
I suggest double checking the properties of the form. It should look like the attached.
 

Attachments

  • Screen Shot.png
    Screen Shot.png
    21.5 KB · Views: 73

lacampeona

Registered User.
Local time
Today, 21:31
Joined
Dec 28, 2015
Messages
392
hello again

i try it and yes that work in the form and is good way

but i need something like this in the table...

i have a form which user use and the information ( results) is stored in the table which is very important in my case

i disable a lot of keys but the backspace button is still working...

in one way i need the baskspace button i like it in the form but later in the table i dont want the backpsace button-becouse of deleting the results

thank you for that now i know something more
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 03:31
Joined
May 7, 2009
Messages
19,237
you should hide the navigation pane so users cant see your table and edit it directly.
 

Minty

AWF VIP
Local time
Today, 20:31
Joined
Jul 26, 2013
Messages
10,371
Tables - Storing data
Queries - Viewing, Filtering and sometimes updating Data
Forms - Data entry / Viewing.
Reports - Viewing

Users should never see a table - because of the very problems you are encountering.
 

lacampeona

Registered User.
Local time
Today, 21:31
Joined
Dec 28, 2015
Messages
392
hello again

yes you are right i have to hide the table...

i just forget that i can made a report..

for now i will use query for the users...just to see and filter some results

can you tell me where in the queries i can set up that nobody can change the query?

thank you very much
 

Minty

AWF VIP
Local time
Today, 20:31
Joined
Jul 26, 2013
Messages
10,371
Use a button / macro to open the query - set it to read only in the properties..
 

lacampeona

Registered User.
Local time
Today, 21:31
Joined
Dec 28, 2015
Messages
392
hellooo

yesssssss is working...........this is what i wantt

thank you soo much

now i have other ideas how to made it everythinkk

thank youu

i wish you happy 2016
 

Users who are viewing this thread

Top Bottom