Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If a table name is a varible ,How to judge it be used()
Message
 
To
11/06/2002 10:49:30
Michale Chen
Shijiazhuang ZhiYuan Crop.
Shijiazhuang, China
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00666937
Message ID:
00666939
Views:
20
>Hello everyone:
> If a table name is a varible ,How to judge it be used().
> For example:
>public theyear ,themonth, tablename
>theyear=''2002''
>themonth=''06''
>tablename=''''
>
>tablename=allt(theyear)+''Äê''+allt(themonth)+''ÔÂ''
>if not used(tablename)
>....
>endif
>
>In fact this code is failure ,Could you give me some advice?
>Thank you.

Give your table an alias when you open it and use the alias from that point on.
Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform