Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open dbf, CDX not open first time ??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00177073
Message ID:
00177170
Vues:
38
>Hi Virusim,
>
>>I found that the first dbf file is open in workarea 3, the delete tag all also in workarea 3, but it prompt me to select which dbf file to open, then give me error 52.
>>
>>The other dbf file when open in workarea 3, the delete tag all for the dbf is in workarea 2, will not give me error.
>
>Could you post the code you are using?
>

Below is part of the function


LOCKFIL(haud,'haud')
PURGE('haud.cdx','')
INDEX ON .... TAG test1 of haud
INDEX on ....
INDEX on ....



LOCKFIL(daud,'daud')
PURGE('daud.cdx','')
INDEX on.. ...
INDEX on....



FUNC LOCKFILE(pFileName,pAlias)
USE (pFileName) IN 0 ALIAS (pAlias) EXCLUSIVE
ENDFUNC

FUNC PURGE(pCdxFile,pAlias)
DELETE TAG ALL OF (pCdxFile)
ENDFUNC
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform