Hi Pat, Hi George,
Thank you for replying.
Tabledefs collection: as far as I know there are no commands to change things, only to delete, add (new created) objects.
DDL: is almost the same, a very limited command set: Create, Alter and Drop. e.g. ‘you cannot create "AutoNumber Replication," "HyperLink," or "Lookup" type fields using a Microsoft Access DDL’ - MS article 180841. With regard to the Alter statement, it says: ‘the Alter statement won't let you alter an existing field in an Access table (for example, to change the field's data type)’.
ADOX: I didn’t work with ADOX before, because I get the message "Compile error - user-defined function not defined". Appearently ADOX is not std, must be loaded. Some active-X module? Which one?