Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax to break a dbf from it's cdx.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00317076
Message ID:
00317126
Vues:
13
>Stephen, if you have to do this outside of the USE command, you can open the dbf with low level commands (FOPEN) and alter byte 28 to signify that the table has no associated cdx. Byte 28 is signifies several things, attached cdx is just one of them. From the VFP help under file structures:
>
>0x01file has a structural .cdx
>0x02file has a Memo field
>0x04file is a database (.dbc)
>Note that this byte can contain the sum of
>any of the above values. For example, 0x03
>indicates the table has a structural .cdx
>and a Memo field.



Thanks Eric, I just went and got a return fro my error handler and it's seems to work now. We will do more testing on this. Outside of downing a server is there any way to stop a process that is running on a com server? currently I have one sitting in an error condition.

TTYL

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

Click here to load this message in the networking platform