I'm almost finished with a VBA program but one field name is stopping everything. I cannot change the field name in the database. I’m using word 2003 it’s a Timberline DB running on pervasive SQL I’m using the Timberline ODBC driver.
This is the part that’s throwing the error:
Guessing the problem is with ‘ and/or # being in the name. But as I said I can’t change the name and I’m unsure of the proper syntax.
Any help is greatly appreciated
This is the part that’s throwing the error:
Code:
sublicense = rs("Contractor's_License_#")
Guessing the problem is with ‘ and/or # being in the name. But as I said I can’t change the name and I’m unsure of the proper syntax.
Any help is greatly appreciated