Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
0000,0001... etc
Message
 
 
To
28/10/2004 10:57:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00955300
Message ID:
00955304
Views:
20
>Hi all
>How can I create cursor with IDS from 1 to 100 for stickers.
>I need that my first sticker will be 001, the second 002 etc (not 1,2).
>Thank for help
CREATE CURSOR crsTemp ( sticker C(3))
FOR i=1 TO 100
  INSERT INTO crsTemp VALUES( PADL(i,3,"0"))
ENDFOR
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform