Update Query Question

T

Treebeard

Is there any way to set a Count field using an update query? I want this
field to have the value 1 to N where N is the number of records returned
from the query?

UPDATE tblTableName SET [Count_field] = ????

Jack
 
L

Lynn Trapp

The number of records returned from WHAT query? Most likely, you would have
to write some VBA code to do this because access will not allow an aggregate
function to be used in an Update statement.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top