Change Data Type in Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using VBA, how can I change the data type of a field from number to text.

thanks for the hel

Alex
 
Execute a DLL query statement like this:

dbEngine(0)(0).Execute "ALTER TABLE MyTable ALTER COLUMN MyField TEXT(30);",
dbFailOnError
 
Back
Top