G
Guest
At one point one field is updated in a table. Later another field is updated.
Now, using SQL, I want to subtract the two and put the result into a third
column.
I normally work in Excel, not Access (as if that's not completely obvious).
I can't get the syntax right. My string follows, can someone please correct
it for me? When I attempt to run it I get "External name not defined":
strSQL = "UPDATE [" & strTableName & "] SET ELAPSED_TIME = (" &
Format([TIMER_TABLE].[END_TIME] - 1 - [TIMER_TABLE].[START_TIME], "DD
HH:MM:SS") & ")"
Now, using SQL, I want to subtract the two and put the result into a third
column.
I normally work in Excel, not Access (as if that's not completely obvious).
I can't get the syntax right. My string follows, can someone please correct
it for me? When I attempt to run it I get "External name not defined":
strSQL = "UPDATE [" & strTableName & "] SET ELAPSED_TIME = (" &
Format([TIMER_TABLE].[END_TIME] - 1 - [TIMER_TABLE].[START_TIME], "DD
HH:MM:SS") & ")"