BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Deleting an MS Access table

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Kimberly Mills
Guest





PostPosted: Thu Jul 28, 2005 3:59 pm    Post subject: Deleting an MS Access table Reply with quote



I just simply want to delete an MS Access table within my Delphi program,
but none of the obvious is working... I am sure it is easy and I am
overlooking the obvious but would appreciate someone pointing the obvious
out to me.

Thanks,

Kim Mills


Back to top
Viatcheslav V. Vassiliev
Guest





PostPosted: Thu Jul 28, 2005 7:34 pm    Post subject: Re: Deleting an MS Access table Reply with quote



ADOConnection1.Execute('DROP TABLE [TableName]');

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Kimberly Mills" <kimmills (AT) indiana (DOT) edu> сообщил/сообщила в новостях
следующее: news:42e900df$2 (AT) newsgroups (DOT) borland.com...
Quote:
I just simply want to delete an MS Access table within my Delphi program,
but none of the obvious is working... I am sure it is easy and I am
overlooking the obvious but would appreciate someone pointing the obvious
out to me.

Thanks,

Kim Mills





Back to top
Kimberly Mills
Guest





PostPosted: Thu Aug 04, 2005 2:47 pm    Post subject: Re: Deleting an MS Access table Reply with quote



Awesome. Thank you so much. I was looking in the wrong place! Cool!


"Viatcheslav V. Vassiliev" <support (AT) oledbdirect (DOT) com> wrote

Quote:
ADOConnection1.Execute('DROP TABLE [TableName]');

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Kimberly Mills" <kimmills (AT) indiana (DOT) edu> сообщил/сообщила в новостях
следующее: news:42e900df$2 (AT) newsgroups (DOT) borland.com...
I just simply want to delete an MS Access table within my Delphi program,
but none of the obvious is working... I am sure it is easy and I am
overlooking the obvious but would appreciate someone pointing the
obvious
out to me.

Thanks,

Kim Mills







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.