dchapma123
Jul 23 2004, 06:27 PM
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?
Jack Cowley
Jul 23 2004, 06:39 PM
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
dchapma123
Jul 23 2004, 07:09 PM
Oh, that should work. I forgot that forms had datasheet view. Thanks, Jack!
R. Hicks
Jul 23 2004, 07:34 PM
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
Jack Cowley
Jul 24 2004, 10:50 AM
You are still teaching this old dog new tricks! Thanks Ricky!
I hope this finds you well, happy and not in Dripwater, Texas....
Jack
Jack Cowley
Jul 24 2004, 10:51 AM
You are welcome, but I like Mr. Hicks solution better... Use what works best for you.
Jack
R. Hicks
Jul 24 2004, 01:59 PM
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.