Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zap records in a remote view (PARADOX)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00985245
Message ID:
00985342
Views:
39
From that error I suppose that Paradox doesn't support TRUNCATE command :o((((
But You can try this
sqlH = SQLCONNECT('AmlineBobConnection')
IF sqlH < 0
   AERROR(aErr)
   MessageBox(aErr[1,3])
   RETURN
ENDIF

IF SQLEXEC(sqlH,"DELETE FROM [xxCompan xxCompan] WHERE 1=1") < 1
    AERROR(aErr)
    MessageBox(aErr[1,3])
ENDIF
SQLDISCONNECT(sqlH)
Requery("YourView")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform