Hi,
I have imported a text file into access and then done an update query to change some records that held a '?' character to 0. Then I changed the datatype of that field from Text to Integer (Double). The importing and query part have been added to a macro to automate this
However, I have not found a way to do the conversion of text datatype to integer for the particular field, in my macro. Does anyone know how this can be done via VBA?
So I need the VBA to convert the datatype of a field in a table from text to integer.
Many Thanks.
I have imported a text file into access and then done an update query to change some records that held a '?' character to 0. Then I changed the datatype of that field from Text to Integer (Double). The importing and query part have been added to a macro to automate this
However, I have not found a way to do the conversion of text datatype to integer for the particular field, in my macro. Does anyone know how this can be done via VBA?
So I need the VBA to convert the datatype of a field in a table from text to integer.
Many Thanks.