Re: Changing a field's datatype in Access via VBScript? by Volker
Volker
Tue Feb 21 07:19:57 CST 2006
Ginolard schrieb:
> I've got an Access DB that is a back-end to an HTA. I've changed
> something in the script so that requires me to change a specific field
> in the DB from a TEXT to a MEMO field.
>
> I don't want to destroy the data that's already in the field so how I
> can simply update its datatype using a script?
Don't see how you can do that properly. All ddl does an implicit commit,
so if you alter table modify (colname memo) and it doesn't preserve the
contents you have a window in which people see an empty column.
Lots of Greetings!
Volker