Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting Table names from expression
Message
From
20/07/1997 12:23:42
 
 
To
20/07/1997 12:02:30
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00040822
Message ID:
00040823
Views:
29
>Is there a way or a utility available to extract table names from a expression. > >The problem is expression can be any like > >Expr: >mytable.amount*yourtable.rate > >so it should return >mytable >yourtable > >Expr: >upper(mytable.testfld) > >Returns >mytable > >Pls advs your suggestions/ideas, its a very important think in my recent project.. it is somewhat hard to know where a table name begins in (at least for the examples you gave you can find where each name ends with an AT() and other such commands if there was a space before each table it would be easier note however that what ever you do will also return object names from expressions (e.g. for myobject.myproperty you will get myobject..) Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform