Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two files with the same name but different extenstions
Message
 
 
To
17/10/2001 10:55:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00569596
Message ID:
00569612
Views:
27
>>No. My problem is, that I have two almost identical files in my program, which differ by extension only. How should I reference them? Select ?? (myTable)
>>Select ?? (MyLogFile). The only way I see to close them and re-open by meaningful aliases. Is there another way?
>
>I think assigning a meaningful alias at the moment you USE the table would be the best way. Otherwise, if you don't assign an alias, VFP would give the table an almost arbitrary alias.
>
>Or, you could go through all open tables and search for one with a specific juststem(dbf()), but I think this will be too much trouble.
>
>Hilmar.

Sergey and Daniel answered this question. I didn't think about such simple soluton :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform