Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF downward compatibility
Message
 
À
25/03/1998 00:15:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00086886
Message ID:
00086928
Vues:
29
>>Hi John,
>>
>>Thanks for the reply..
>>Yes I am aware of the TYPE clause. What I was hoping for was a one liner
>>(a SET statement?) that would obviate the need for my having to search and alter any COPY statement or any process that modifies a table's structure. As the system is fairly large, I would like to avoid having to do this if possible.
>>
>>Ashley
>>
>Hmmmm....there seems to be no way out of that...you might want to change the source code and do a VERSION() call before any CREATE or COPY TO command and then issue the appropriate commands, ie:
>
>IF "Visual" $ VERSION()
> ** DO VFP commands
>ELSE
> ** DO FP 2.5
>ENDIF

John & Ashley,
If you try this, I think you will come across a problem compiling in 2.5 where it hits the TYPE FOX2X clause - it won't like it. Keep the 2.5 and 5.0 apart! Check the version at start and reject program if necessary.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform