Solved UPDATE QUERY

sbaud2003

Member
Local time
Tomorrow, 03:55
Joined
Apr 5, 2020
Messages
184
I want to update all records in a tbl of a numeric field AC_NO with AC_NO preceeded by 9 for example if Account No is 8337453 it should be updated to 98337453. What will be the vba code for query
 
Is the number always 7 positions?
 
Numeric field - do you know addition?
Code:
UPDATE TableX SET AC_NO = AC_NO + 10000000
 
That was a breaking point for our own thinking.
Yep, someone knows addition.
 

Users who are viewing this thread

Back
Top Bottom