If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > how to zap a Foxpro table using Delphi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-02, 05:48
ronnygoossens ronnygoossens is offline
Registered User
 
Join Date: May 2002
Posts: 8
how to zap a Foxpro table using Delphi

Hi,

Situation: I need to work with FoxPro DBF's but without using the BDE, for this I use an ADOtable component, works fine until ...

TheProblem: I can delete in the table but his means remarking for deletion, he doesn't acctualy removes the records fysicaly, in foxpro we can use a zap command to remove them but I don't know the trick true Delphi, so the trick I seek is to really remove the records fysicaly from the fox pro table true the ADO component.

Help most welcome,

Ronny
Reply With Quote
  #2 (permalink)  
Old 10-25-02, 12:40
Nilme Nilme is offline
Registered User
 
Join Date: Oct 2002
Location: Romania
Posts: 1
Red face Re: how to zap a Foxpro table using Delphi

Same problem But From VB:
try to execute a sql delete comand usig execute method of Ado connection, then close the ado connection and reopen it. Now send to the fox pro tabe the foollowing string via ado connection execute method
"pack FoxProFileName" where FoxProFileName is foxPro table name without extension dbf.

but i'am also searching for somthing better
Good luck!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On