Ask a Question related to ASP Database, Design and Development.
-
Scotter #1
adox asp ms access delete a column from a table
Hi folx -
Here is the code I'm trying (but it errors out with "Item cannot be found in
the collection corresponding to the requested name or ordinal."):
objTable.columns(s_name_field_to_delete).delete
AND SAME ERROR WITH:
objTable.columns.delete s_name_field_to_delete
What am I doing wrong?
Thanks!
--
Scotter
Scotter Guest
-
querying field / column names in Access table
I got great info on my last post, so let's try this one and see if my luck is still good: I have an Access table with about 30+ columns / fields... -
ASP/Access 2002: how do I get column names from table (in order) using OLE DB?
When I use ADOX to get columns(fields) of a table, they are *auto-sorted alphabetically by name*. I need to get the list of field names as they... -
ADOX - how do I select a table by name in order to read which fields it has?
Hi - I'm finding tons of examples out there on how to create a table or enumerate thru tables and same with fields but what if I just want to... -
How to get the lenght of an Access database using ADOX
I want to administer a remote Access database using ASP. I use the ADOX setup. I am able to list the tables, the fields in each table, the field... -
using Access queries using ADOX
Hello, I have the following code in an asp 3.0 page: Dim dbConn As adodb.Connection Dim cat As ADOX.Catalog Dim view As ADOX.view Set dbConn... -
Ray at #2
Re: adox asp ms access delete a column from a table
Show more code than that. Or make sure you variable has the value you think
it does. And also instead of ADOX, you could just use the existing ADO
connection and execute:
oADO.Execute "alter table TableName drop [" & s_name_field_to_delete & "]"
Ray at home
"Scotter" <spam@spam.com> wrote in message
news:7a7Hc.2169$857.1509@fe2.texas.rr.com...in> Hi folx -
>
> Here is the code I'm trying (but it errors out with "Item cannot be found> the collection corresponding to the requested name or ordinal."):
>
> objTable.columns(s_name_field_to_delete).delete
> AND SAME ERROR WITH:
> objTable.columns.delete s_name_field_to_delete
>
> What am I doing wrong?
>
> Thanks!
>
> --
> Scotter
>
>
Ray at Guest
-
[MSFT] #3
RE: adox asp ms access delete a column from a table
Hio Scotter,
Please refer to Bob's reply in microsoft.public.inetserver.asp.general
Thanks,
Luke
[MSFT] Guest



Reply With Quote

