>When converting a form from FoxPro Win to VFP, a 'DO FORM FormB' in the FormA setup snippett was copied to the FormA.Load method. FormB contains a push button and a list box that is populated with the data from a cursor. When FormA is run it calls FormB, but the list box on FormB does not display any data.
>
>When FormB is run from the command window it works OK.
>
>After several hours of playing around with the list box settings, we finally discovered that moving the 'DO FORM FormB' from the FormA.Load method to the FormA.Init method solved the problem.
>
>Does anyone know why calling FormB from the Load method of FormA causes this behavior?
>
The DE has not been established in the Load method, but has in the Init. The controls have not been inited in the Load method, either. Load occurs prior to Init.