Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto-incrementing a number field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00168371
Message ID:
00168408
Views:
18
Try the following:

In your form init method:

SELECT ;
MAX(id_field) ;
FROM table ;
INTO ARRAY aHighestID

IF _TALLY > 0

ELSE
ENDIF
Juan L. Romero
gcandela@javanet.com
Previous
Reply
Map
View

Click here to load this message in the networking platform