Hi,
I import an excel spreadsheet to a table everyday that has a field formatted as "text", but contains a "number" value. The number comes in with a space in front of it. Every day I manually remove the space by going into the design view, changing the format of the field from "text" to "number" and clicking "save". (This also gets rid of records that have a blank or null in the field which is what I want too.) I would like to accomplish this in a query or using vbasic. Does anyone know the best way to do this? Thanks.
I import an excel spreadsheet to a table everyday that has a field formatted as "text", but contains a "number" value. The number comes in with a space in front of it. Every day I manually remove the space by going into the design view, changing the format of the field from "text" to "number" and clicking "save". (This also gets rid of records that have a blank or null in the field which is what I want too.) I would like to accomplish this in a query or using vbasic. Does anyone know the best way to do this? Thanks.