Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

anyway i can lock the information in a query?

Status
Not open for further replies.

sunspot11

Programmer
Feb 26, 2003
7
SG
hi...

after i created a query,
is there any way i can lock the information in the query so that the user will not be able to change anything when they view the query....

thks
 
You would be better off basing a report on your query and let the user see the report. Reports are not editable. "The Key, The Whole Key, and Nothing But The Key, So Help Me Codd!"
 
sunspot:

If you must use the datasheet view of the query just set the query type to Snapshot.

In the query design window, bring up the proerties window and right click in the empty area in the upper window. The properties window should say Query Properties. On the Recordset Type line select Snapshot and save your query.

When the query is opened, no one will be able to change data. Of course if others have access to the query in design mode they can easily change this back.

HTH,

Vic
 
hey 930driver and vic....thks thks

followed ur instructions and got the answer to my problem...thks again..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top