Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zap records in a remote view (PARADOX)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00985245
Message ID:
00985342
Vues:
38
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform