I understand how to run an update query using SQL as a string.
I would like to know, if it is possible, is there a way to pass a parameter to an update query for the value that is to be updated using DoCmd?
For example: here’s the SQL:
UPDATE FilePaths SET FilePaths.[Value] = [somepath] WHERE (((FilePaths.FilePathName)="TheFiles"));
How do I write
DoCmd.myQuery something, something, something
to update [somepath]? Is what I am asking a reasonable approach?