Addobject() with an array 
Author Message
 Addobject() with an array

Hello all,

        Is it possible to name an object using addobject() with an array??  I'm
sure there must be a way, but I'm not getting it.  To make it more
clear, here's what I'm doing:

dim x(50)
seek y
z=1
scan while fieldname=y
        myform.addobject("x(z)", "label")
        z=z+1
endscan

        I'm getting an "Array is not a member of the parent object" error using
VFP 5.0.  What am I doing wrong?  BWT, the idea is to make a hypertext
system of some sort.  Is there a better way?  Thanks...

Derek



Mon, 26 Jul 1999 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. VFP5 Bug in addobject Method

2. addobject() and classes

3. addobject method

4. Addobject and creating procedures

5. SQL don't support array, how to handle string array paramters

6. converting multi-dim arrays to php assoc arrays

7. Arrays: null values beyond end of array

8. Array slice subscripts (was Re: [SQL] plpgsql function with more than one array argument)

9. Combo Box array and Text field array synching

10. move INTERBASE ARRAY to DELPHI ARRAY ?

11. Binding an Oracle table/array as parameter to a Java array

12. How to pass an integer array/userdef type array into an Oracle Stored procedure


 
Powered by phpBB® Forum Software