Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create command is adding a .dbf to my tablename, sometim
Message
From
23/10/2001 14:38:47
 
 
To
23/10/2001 14:31:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00572202
Message ID:
00572217
Views:
25
>>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
>
>Try this before creating the table:
>
lcTable = JustPath(lcTable) + "\" + JustStem(lcTable)
>HTH

J.,
Actually I want to use the .def extension instead of the .dbf extension. Problem is the create command is adding the .dbf. If I JustStem() the filename I will lose the .def, so that won't work. What I am after is "sometable.def" and "sometable.fpt".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform