Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create command is adding a .dbf to my tablename, sometim
Message
 
À
25/10/2001 15:04:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00572202
Message ID:
00573350
Vues:
18
Tony,

Glad to hear you have solved it.

>Yuri,
>Although your suggestion was not what I was looking for, your results of running the command in 3 versions made me think that I may have been automating a different version of VFP that I was running. I looked and there it was, VFP6 was being automated. I just uninstalled and reinstalled VFP7 and the problem was solved!
>
>Thanks for checking it out and jogging my brain!
>Tony
>
>>Tony,
>>
>>I have three versions (5,6,7) of VFP installed on the very same PC. All of them I call the very same way (using configuration setting). And guess what? VFP5 and VFP7 give me table_name.def as you wish, but VFP6 - table_name.def.dbf!
>>So, I would follow exactly as it is documented, CREATE FILENAME.. meaning without extension, I believe.
>>
>>
>>>Using VFP7 on Windows 2000 Pro
>>>
>>>The following line:
>>>
>>>CREATE (lcTable) FROM DbfStru
>>>
>>>is causing me grief. lcTable = "c:\somepath\sometable.def" which results in the table being created as: "c:\somepath\sometable.def.dbf" and "sometable.def.fpt". The strange thing is that this only hapens sometimes, and so far only on one machine. So does anyone have a clue here, or should I just insert a file() test and rename the files?
>>>
>>>TTTIA
>>>
>>>Tony
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform