Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a fieldname to a cursor programatically
Message
From
18/12/2003 15:52:11
 
 
To
18/12/2003 15:16:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00860481
Message ID:
00860514
Views:
24
>Hi Trey,
>
>Just tried out your method, and it works! Thanks very much. Any way the '_' can be avoided(if possible) ?
>
>Regards,
>
>Steve.

yqw :)

The underscore is simply a nondescript way to prevent the field name from beginning with a number - e.g., if startyr is 2003 then the field name would be "_2003". Any legal, non-numeric value would work (i.e., alpha or underscore).

if startyr doesn't begin with a number, then you wouldn't need to prefix it.

Trey
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform