Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PACK Deleted Records
Message
De
14/04/1999 18:18:28
 
 
À
14/04/1999 18:10:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00208401
Message ID:
00208409
Vues:
24
>>I use the following lines of code in VFP6 to delete records from a VFP table (.dbf file), which is located locally on my machine, with SET EXCLUSIVE ON and everything. By turning the Debugger on, I was able to watch the execution of the code, and noticed an error message "Function is not supported on remote tables" right after PACK. Does anybody know what's going on? Am I missing something?
>>
>>Here's the code:
>>IF RECCOUNT('TableName') > 0
>> DELETE ALL IN TableName
>> PACK
>>ENDIF
>>
>>
>>Thanks in advance,
>>
>>CARIE
>
>You should select work area before PACKing:
>Select mytable
>Pack

Ah, that's what I'm missing. Thanks, Edward.

CARIE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform