Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting tablenames from comma delimit
Message
From
23/05/2003 00:39:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00791909
Message ID:
00792054
Views:
36
Hi Fred,
you may improve your code using the 4th parameter of alines. ::)
ALINES(aTables,this.ChildList,.F.,',')
Agnes

>>Fred,
>>I am doing this. I have three table names in childlist property(cnchron,sub_ref,actions)
>>All the three times in the loop the first table(cnchron) name is appearing it is not going to the second and the third.
>>
>>ALINES(aTables,STRTRAN(this.ChildList,",",CHR(13)+CHR(10)))
>>FOR nTable=1 TO ALEN(aTables,1)
>> * whatever you need to do with aTables[nTable]
>> =messagebox("Table "+aTables[nTable])
>>ENDFOR
>>
>>Thank you very much.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform