Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increment Field
Message
From
11/04/2008 17:46:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01309981
Message ID:
01310107
Views:
30
Naomi,

here is an other way to come to the result (thanks to Brad Schulz)

lnMyNum = 0
SELECT myTable, GetRunningNumber() AS MySeq FROM myTable INTO CURSOR MyCursor NOFILTER

FUNCTION GetRunningNumber
lnMyNum = lnMyNum+1
RETURN lnMyNum
ENDFUNC

Best Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform