Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two files with the same name but different extenstions
Message
From
17/10/2001 10:48:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00569596
Message ID:
00569600
Views:
37
Nadya,

Once you open a file, you can get the filename of the underlying file with function DBF().
? justext(dbf())
Is this what you need?

Hilmar.

>Hi everybody,
>
>I have a simple problem, but haven't found a simple solution so far. I want to create two files with the same name. One would have DBF extension, another would have LOG extension. Both are tables and I need to use them in the same program. I
>
> select ... into (m.lcNewFile)
> select juststem(m.lcNewFile)
> append from ...
>
> I also do create table free (m.lcNewLogFile) ...
>
> I need to select it and append records into it. How can I distingush them? Is there the only way to close both and re-open under different aliases?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform