>I cannot figure this out for the life of me and I am sure I am missing something silly.
>
>I have a form with a pageframe containing 3 pages. On the first page is a set of checkboxes (within a container if that makes any difference).
>
>On page3 is a list box with a RowSourceType of 'Array' and a RowSource of 'solutions'. 'Solutions' is a public array declared in the load method of this form. This array is initially dimensioned with 1 element containing Space(1).
>
>When some checks one of the boxes on page1 the click method of that checkbox passes the caption of that checkbox to a method that adds this caption to the array (or replaces the first element with the caption if the element is = Space(1)).
>
>Now, the array is working fine and contains the values that I expect it to. The problem is that nothing is showing up in this list box. In the Activate method of page3 I have:
> WITH THIS.listsol && Name of listbox is listsol
> .requery()
> .refresh()
> ENDWITH
>The form works fine but I get nothing showing in the listbox. I have done this many times before but the listbox was always on the form (without any pageframes or pages).
>
>Any ideas as to what I am doing wrong?
>
>TIA,
>George
If listboxes act anything like grids on pageframes, it will help to explicitly set the rowsource of the listbox in the activate event of the box's page. I know that grids (for whatever reason) lose their recordsource when flipping back and forth between pages.
Erik Moore
Clientelligence