Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to array
Message
From
09/10/2013 05:23:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01585081
Message ID:
01585099
Views:
56
this.mysqlexec(m.lcSQL,'csrTables', program())
this.addproperty('aTables[1]')
Select table_name from crsTables into array this.aTables
use in select('csrTables')
>Hi everybody,
>
>I have the following code
>
>
> this.mysqlexec(m.lcSQL,'csrTables', program())
>   this.addproperty('aTables[1]')
>   dimension this.aTables[reccount('csrTables')]
>   copy to array this.aTables fields table_name
>   use in select('csrTables')
>
>I found that only the first row value is properly copied and the rest of the values remain false. Do you see a bug in this code? The csrTables has 13 rows and only the first row value is copied into that array.
>
>Thanks in advance.
Previous
Reply
Map
View

Click here to load this message in the networking platform