I have what I thought was a very simple sql statement. I have text boxes and combo boxes. The values entered are going into variables (val1 -- val4). I do a debug.print and I see that the variables are indeed holding the values that I put in but when I go to do this sql statement I get "val1 cannot be used in this way. it must be a constaint or a variable." Isn't this the corret syntaxl for the insert statement. Keep in mind I have exactly this all on one line. val1 and val3 are dimmed as integers,where val2 and val4 are strings
mysql = "Insert into mail(NameID,Description,SubscriptionID,DateReceived) values(val1,val2,val3,val4)" aspvbwannab
mysql = "Insert into mail(NameID,Description,SubscriptionID,DateReceived) values(val1,val2,val3,val4)" aspvbwannab