>I need a little help working with the listbox control. Here's my situation:
>I have a listbox that's part of a container that gets dropped on the 2nd page of a tab control. My user must select criteria on page 1 (a textbox and optiongroup) that is used in determining the values that appear in the list box. The container has a custom method that populates arrays used for the list box. The problem that I'm having is that the listbox doesn't display the value, it flashes it very quickly and then nothing.
>
>I'm new to Visual Fox (that's part of the problem, I'm sure) and would very much appreciate any expert advice.
>
>Thanks in advance,
>
>Lori
Two things:
First is mandatory: issue .Listbox.Requery() any time you change RowSource.
Second is recommended: Cursor is better RowSource than Array.
Edward Pikman
Independent Consultant