Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting tablenames from comma delimit
Message
From
22/05/2003 17:57:49
 
 
To
22/05/2003 17:29:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00791909
Message ID:
00791970
Views:
27
>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)
>ENDFOR
>Thank you very much.


PMFJI, Raj, with ALINES, you have an array, in the sample code, Fred told you to access this array with the proper way " * whatever you need to do with aTables[nTable]"
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Reply
Map
View

Click here to load this message in the networking platform