"constant expression is required" error when concatenating sting
Posted on 2006-06-12
when i try to run this code i'm getting an error:
Dim theUser = "foo"
Dim theEvent = "foo"
'Specify the SQL query
Const sql As String = "UPDATE event_claims SET deleted = 0 WHERE userID = " & g & " AND eventID = " & theEvent
when does it expect these variables to the be constants? this was certainly not hte case in 1.1. what's up with this?