S
Søren M. Olesen
Hi
I'm trying to add a column and it's description to an Access table using the
following code:
objTable.Columns.Append("RefId", adInteger)
objTable.Columns("RefId").Properties("Description").Value = "Reference Id"
however I get the following exception:
"Item cannot be found in the collection corresponding to the requested name
or ordinal."
Looking at the Column using a debugger, I can see that the column doesn't
contain anything in the Properties collection...
But how do I add a Description to this collection ??
TIA
Søren
I'm trying to add a column and it's description to an Access table using the
following code:
objTable.Columns.Append("RefId", adInteger)
objTable.Columns("RefId").Properties("Description").Value = "Reference Id"
however I get the following exception:
"Item cannot be found in the collection corresponding to the requested name
or ordinal."
Looking at the Column using a debugger, I can see that the column doesn't
contain anything in the Properties collection...
But how do I add a Description to this collection ??
TIA
Søren