W
wkaibigan
Hi
I am trying to get the following to work but with little success
tempsql = Me.Combo26.Value & Me.Area & Me.Text35 & "NP"
DoCmd.RunSQL ("UPDATE WSLevs SET [WSLevs].[NodePointName]=" & tempsql
& "[WSLevs].
[WaterCourseRef] & Replace([WSLevs].[Reference],""."","""");")
If I just try
DoCmd.RunSQL ("UPDATE WSLevs SET [WSLevs].[NodePointName]=[WSLevs].
[WaterCourseRef] & Replace([WSLevs].[Reference],""."","""");")
The command works.
With the original query I am getting a Missing Operator error. I know
I am missing something obvious but for the life of me I can't figure
out what so anyone can guide me towards the correct syntax for the
first query please?
Thanks.
Nick
I am trying to get the following to work but with little success
tempsql = Me.Combo26.Value & Me.Area & Me.Text35 & "NP"
DoCmd.RunSQL ("UPDATE WSLevs SET [WSLevs].[NodePointName]=" & tempsql
& "[WSLevs].
[WaterCourseRef] & Replace([WSLevs].[Reference],""."","""");")
If I just try
DoCmd.RunSQL ("UPDATE WSLevs SET [WSLevs].[NodePointName]=[WSLevs].
[WaterCourseRef] & Replace([WSLevs].[Reference],""."","""");")
The command works.
With the original query I am getting a Missing Operator error. I know
I am missing something obvious but for the life of me I can't figure
out what so anyone can guide me towards the correct syntax for the
first query please?
Thanks.
Nick