Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please review this procedure to open a table...
Message
From
15/06/2009 11:44:21
 
 
To
15/06/2009 11:36:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01406084
Message ID:
01406105
Views:
51
>>Hi Matt,
>>
>>I agree with Naomi on the name.
>>In addition, your procedure assumes that table file name and alias name must be the same?, so it cannot open a table twice.
>
> You can pass in an Alias to use a different name, and open as many times as you want, but if you don't, it will use the table name
>

Oops, sorry - I somehow misread your Return line (probably because of reading too quickly, and because I had expected a "Return Used(theDesiredAlias)" there.

[Edited:] Or didn't I?, this somehow looks wrong to me, given that TableName does not necessarily have to equal AliasName (and in addition to Sergey's point about fullpath and extension):
>> Return (Upper(Alias())==Upper(tcTableName))



Regards
-Stefan
Previous
Reply
Map
View

Click here to load this message in the networking platform