Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two files with the same name but different extenstions
Message
 
 
À
17/10/2001 10:48:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00569596
Message ID:
00569603
Vues:
23
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?

>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?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform