MangroBongacello
Programmer
Hi,
I would like to change the number of characters the field in Access table can accept. Now it is set to 30, I want to set it to 200. I tried
Dim cat as new adox.catalog
dim tbl as adox.table
dim col as adox.column
set cat.ActiveConnection=MyConn
set tbl=cat.Tables("MyTable"
set col=tbl.Columns("MyField"
If col.DefinedSize=30 then col.DefinedSize=200
This gives an error: Operation is not allowed in this context.
Thank you
Mangro
I would like to change the number of characters the field in Access table can accept. Now it is set to 30, I want to set it to 200. I tried
Dim cat as new adox.catalog
dim tbl as adox.table
dim col as adox.column
set cat.ActiveConnection=MyConn
set tbl=cat.Tables("MyTable"
set col=tbl.Columns("MyField"
If col.DefinedSize=30 then col.DefinedSize=200
This gives an error: Operation is not allowed in this context.
Thank you
Mangro