Preventing changes to source data

TDC21

Board Regular
Joined
Mar 31, 2017
Messages
97
I have been working on a search form that is starting to take shape, the goal will be to allow people in production to quickly search inventory from partial matches to identification tags. I would like them to be able to search a live connection but I dont want them to be able to make any changes to the source data itself.

I would think there would be a way to establish view only settings but I have not come across that option. Currently I am thinking about creating SQL table views from the actual source data and establishing the ODBC connection to those, that way if any changes are made it wont affect the "Live" database. Seems like there would be a simpler option that I am probably just missing.

As always any suggestions are appreciated
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
set the query RECORDSET TYPE = SNAPSHOT, and they cant change data.

if you display the query in a form, set the form :
ALLOW EDITS = FALSE
ALLOW DELETIONS = FALSE
ALLOW ADDITIONS = FALSE
 
Upvote 0
You should test it out - as far I as I know if you create a view (select query) from sql server as your source then you can't update the data. If you are just connecting straight to tables then maybe it's different - but why would you do that?!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top