General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only