General information
Category:
Coding, syntax & commands
There certainly doesn't appear to be anything wrong with the code you posted below. There must be something else going on in the form or the combo box that's causing it. Is there much other code in either? What events have code in them?
Alan
>Hi Jim
>Init of form:
>------------
>Dime Thisform.MyArray(3,2)
>Thisform.Myarray[1,1] = 'Plum'
>Thisform.Myarray[2,1] = 'Apple'
>Thisform.Myarray[3,1] = 'Pear'
>
>Thisform.Myarray[1,2] = 'Munster'
>Thisform.Myarray[2,2] = 'Ulster'
>Thisform.Myarray[3,2] = 'Leinster'
>
>Thisform.Combo2.requery()
>
>Row Source
>----------
>Thisform.MyArray
>
>
>Row source type
>---------------
>5 array
>
>
>As I said in earlier thread, this combo box works fine on another blank form, but not on my live one.. it must be something on the form or class
>
>regards,
>
>Gerard
>
>
>
>
>>Gerard,
>>
>>Ok let's debug this. What are the rowsourcetype and rowsource settings for the combo? Also what is the code that "initializes" the form array? Is there a pageframe involved?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only