Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delete records in a Pervasive database
Message
From
30/08/2010 02:28:52
 
 
To
29/08/2010 10:49:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01479024
Message ID:
01479149
Views:
31
>Hi Alex.
>
>>A table for an accounting program that uses Pervasive as the database engine has become corrupt. I need to delete a record and change others and wonder how to do it.
>>
>>I'd like to use SQL passthrough to make the changes but don't know how to go about it. For reporting purposes I have created remote read-only views into the database so I have the basic infrastructure to connect to Pervasive from VFP.
>
>You can use a remote view that writes to the database to delete/update the table. Alternatively, you can use SQL passthrough commands. First, connect to the Pervasive DSN using SQLCONNECT(). Then, use SQLEXEC() to send SQL DELETE and UPDATE commands to Pervasive.
>
>Doug

Thanks Doug.

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform