could anybody please help me on how to delete a specific field in a Table.
I had tried this code...
but an error message "ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application" appears.
Does this mean that Access does not allow any deletion of fields using Visual Basic?
Thank you in advance. [sig][/sig]
I had tried this code...
Code:
Dim cat As New ADOX.Catalog
cat.ActiveConnection = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=d:\sample.mdb;"
cat.Procedures.Delete "TPYID"
but an error message "ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application" appears.
Does this mean that Access does not allow any deletion of fields using Visual Basic?
Thank you in advance. [sig][/sig]