I get an error when I execute the below INSERT statement. Cost and Price are money data types:
sqlText = "Insert Into tblProduct(ID,Cost,Price) values ('" & vProductID &"',vCost,vPrice)"
Is my syntax correct for vCost and vPrice?
---------------------------------------------------------
When I try the statement below it works:
sqlText = "Insert Into tblProduct(ID,Cost,Price) values ('" & vProductID &"',15,25)"
Thanks,
ike
sqlText = "Insert Into tblProduct(ID,Cost,Price) values ('" & vProductID &"',vCost,vPrice)"
Is my syntax correct for vCost and vPrice?
---------------------------------------------------------
When I try the statement below it works:
sqlText = "Insert Into tblProduct(ID,Cost,Price) values ('" & vProductID &"',15,25)"
Thanks,
ike