On a different note, can you tell me why the following INSERT statement won't work?
CString insert = _T("INSERT INTO IRDDATA (DOT,VIN,TRANSPONDER_NUMBER,CARRIER_NAME,UNIT_NUMBER,GVW,REGISTRATION_EXPIRE_DATE,EXTRA_WEIGHT,EXTRA_LENGTH) VALUES (strDot,strVin,strTransp,strName,strUnit,strGvw,strRegDt,strExWeight,strExLength)"

;
m_db.ExecuteSQL(insert);
You may not understand all the variables but the statement goes INSERT INTO IRDDATA(column name, column name, ...)VALUES (string variable, string variable, etc.) Is this not the right syntax for the INSERT command? Thanks.