Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record pointers on empty cursors/tables
Message
From
02/02/2004 14:30:49
 
 
To
02/02/2004 13:36:03
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00872917
Message ID:
00873096
Views:
18
>I like that, but the cursor/table may be unknown at design time. Is there a way to know the key field (or expression) of the current ALIAS?

There is ataginfo(). look for the primary key and key expression.
if ataginfo is not available, you could walk the tags with the older functions
tag(), tagno(), sys(14), sys(twentysomething), key() -
but I am not sure if you get primary/candidate info,
which is necessary for you

HTH

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform