A regular select query can't change table data. If your looking at the data through a form based on the query, go to the form's design view, bring up the property sheet for the form and change Allow Edits, Allow Deletions, Allow Additions to NO.
A regular select query does allow you to change data unless you specifiy acReadOnly upon opening it. Test it out by running a query under you query tab and change something in a field. It will change the tables data.
I'm trying to make relationship between two (and more) tables for query.
I need to read from one table the data but not write to it.
The ID row will be linked to the other table (this table will be update with the number of the ID).
Until now I have success to make relationship between them but both of the table are updated.
Oops. HP you're right. I always create forms for my recordsets 'cause most of the people using my stuff know little about Access, or enough to cause trouble, and I can "lock" them out. Of course, I hide the queries, too.
For example the table t_Asset is need to be constant but the record t_Asset.r_Asset is updateing each time I have updating the Sale table thru the query.
I still don't understand how you are updating the Sale table through the query. Are you running the query directly and then changing data directly in the query results? Or, are you using the query in a form and updating it with the form?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.