Hi, If I change values in a column in a query with selected records, will the values in the table also change for these records(and yes, I want it to)
tia
regards
Kjell
A SELECT query selects records. An UPDATE query will be required to change or update the data. You can update multiple columns and multiple rows in one query. You can do conversions, arithmetic operations, and other manipulations in the update query.
UPDATE tbl SET col1=99, col2="abc", col3=col3+5, col4=date()
WHERE colA=22 Terry
"I shall try to correct errors when shown to be errors, and I shall adopt new views so fast as they shall appear to be true views." - Abraham Lincoln
Well I'm sorry too tlbroadbent, but if you create a SELECT query in Microsoft access, then there is an instance where
you can modify the underlying data.
Query
------
SELECT Field1, Field2, Field3 FROM Table1
open the datasheet view of the query and modify it!
what about forms? What happens when you set the control source of a form to be a SELECT query?
Can you add records to the underlying table?
I think so.
"I shall try to correct errors when shown to be errors, and I shall adopt new views so fast as they shall appear to be true views." - Abraham Lincoln
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.