J
Jack
Hi,
I am building a dynamic sql string in access
sql = " INSERT INTO tblExpense (ENO, EntryDate, ContractedServiceExpense, "
sql = sql & "TravelExpense, PersonnelExpense)"
sql = sql & " VALUES('" & l_ENO & "', '" & l_Date & "', " &
l_contractedserviceexpense & ", " & l_travelexpense & ", " &
l_personnelexpense & ")"
However, the date field is not working properly due to error. Any help is
appreciated. Thanks in advance. Regards.
I am building a dynamic sql string in access
sql = " INSERT INTO tblExpense (ENO, EntryDate, ContractedServiceExpense, "
sql = sql & "TravelExpense, PersonnelExpense)"
sql = sql & " VALUES('" & l_ENO & "', '" & l_Date & "', " &
l_contractedserviceexpense & ", " & l_travelexpense & ", " &
l_personnelexpense & ")"
However, the date field is not working properly due to error. Any help is
appreciated. Thanks in advance. Regards.