My Assistant
![]() ![]() |
|
|
Jul 23 2004, 06:27 PM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 61 From: Ventura, CA |
Hi, everyone.
I've set up queries for my department to use when they want to look at and sort large set of information (as opposed to search forms when they want to look up just one thing). I don't want them to be able to edit the information in the queries, however. Is there a way to make a query uneditable without affecting forms that source back to the same table? OR...is there a better way to approach this? |
|
|
|
Jul 23 2004, 06:39 PM
Post
#2
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
You can base forms on the queries and lock the indiviual controls on the forms and this will prevent users from changing the data. This obviously affect the forms but I can't think of a way to use a form without making some changes to it....
hth, Jack |
|
|
|
Jul 23 2004, 07:09 PM
Post
#3
|
|
|
UtterAccess Enthusiast Posts: 61 From: Ventura, CA |
Oh, that should work. I forgot that forms had datasheet view. Thanks, Jack!
|
|
|
|
Jul 23 2004, 07:34 PM
Post
#4
|
|
|
UA Forum Administrator Posts: 38,131 From: Birmingham, Alabama USA |
You can set the "RecordsetType" property of the form to make it non-updateable ...
CODE Private Sub Form_Open(Cancel As Integer) Me.RecordsetType = 2 End Sub RDH |
|
|
|
Jul 24 2004, 10:50 AM
Post
#5
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
You are still teaching this old dog new tricks! Thanks Ricky!
I hope this finds you well, happy and not in Dripwater, Texas.... Jack |
|
|
|
Jul 24 2004, 10:51 AM
Post
#6
|
|
|
Retired Moderator Posts: 37,716 From: The San Francisco Bay Area |
You are welcome, but I like Mr. Hicks solution better... Use what works best for you.
Jack |
|
|
|
Jul 24 2004, 01:59 PM
Post
#7
|
|
|
UA Forum Administrator Posts: 38,131 From: Birmingham, Alabama USA |
LOL ...
No, not in Texas ... I have been home in Birmingham the past 3 or 4 weeks working on a project for another client. RDH |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th June 2013 - 08:46 PM |