Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can i remove index structure from a DBF file?
Message
 
À
16/06/2005 06:18:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Divers
Thread ID:
01023842
Message ID:
01023846
Vues:
9
Hi Arun,

DBF header contain only CDX flag.
PROCEDURE DropCDXFlag(lcFile)
LOCAL lihwnd,lixx,m.lcbyte
lihwnd=FOPEN(lcfile,12)
IF lihwnd>0
   lixx=FSEEK(lihwnd,28)
   IF lixx>-1
      lcbyte=CHR(BITCLEAR(ASC(FREAD(lihwnd,1)),0))
      lixx=FSEEK(lihwnd,28)
      lixx=FWRITE(lihwnd,lcbyte)
   ENDIF
   =FCLOSE(lihwnd)
ENDIF
But if is table in DBC, then DBC contain others informations about indexes.

MartinJ

>Hi all,
>
>Can I remove the index structure from a DBF file programmatically,
>like alter command?
>
>Arun India
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform