thao-nhi
asked on
Access 2010 Inserting temporary variables into fields in a table
How do I insert tempvar values into existing fields in a table? I have values from a form assigned to temporary variables through a macro. I would like to insert them to an existing table by way of a macro. Please elaborate the syntax when doing this in an insert query.
thanks
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This type of bulk update should be done with a query if the value is constant such as populating a field with a default value. If the value is calculated, you shouldn't be doing this at all. Calculations should happen in the query when you retrieve the data.
Update YourTable Set SomeField = 0 Where SomeField Is Null;