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:55:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00569596
Message ID:
00569607
Views:
41
>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.
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