Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide variable into parts
Message
From
09/02/2008 11:33:51
 
 
To
09/02/2008 00:38:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01266627
Message ID:
01291064
Views:
8
Dragan gave you a solution. But I will repeat that an array is easier and "cleaner". With my earlier code var(1) is '3', var(2) is '1' and so on.

>Dear Professors
>
>My problem still not solved.
>
>Here I try again to clear the point
>
>myid=31206-1653228-5
>
>I want to break myid into 15 parts then show every part in separte report field.
>
>It will be right if result will be as
>
>var1=3
>var2=1
>var3=2
>var4=0
>var5=-
>var6=1
>var7=6
>var8=5
>var9=3
>
>Please help again
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform