Quote:
Originally posted by Thom
Wow! It CAN'T be that easy! <g>
I'm stuck with Access2000, btw; I'm using as many SQL commands as I can to improve performance, so I want to make SURE I understand you!
So the Update command allows me to FILL any previously blank(default value)fields with the NEW info provided by the user, AND OVERWRITE any previous info with the new info provided by the user?
Yep. And, BTW, if you use views you must update by discrete tablename (an update statement only works on one table at a time)
Quote:
Originally posted by Thom
ex: Update table1 set field1 = "John Doe" when it was previously "Jane Doe" will work OK, right? And then I'd need to do a While Not EOF to cycle thru the whole recordset to update all the changes, correct? That's COOL! Thanks for the help!
update set field='something' replaces the contents of what was there with what you specify. An update will work against as many records as the where condition retrieves. To update every record in the database, don't use a where condition. There is no need to loop, if you can figure out the correct where condition.