This is SQL statement that I'm using in my code. RptValue, and X represent variable that I want to alter. This SQL statement will not put the constant into the SQL string. If I try to do something similar to the following ('RptValue','X')" then I get the words not values. Does anyone have a clue.
SelClause = "INSERT INTO TBL_Index ([Report ID], [Field ID]) VALUES (RptValue,X)
SelClause = "INSERT INTO TBL_Index ([Report ID], [Field ID]) VALUES (RptValue,X)