>Naomi,
>
>I do have an array that holds object references to each form that opens.
>
>It works quite well I must say, but not when I issue
>
>
>ofrmCustomerDataEntry = CREATEOBJECT( "frmCustomerDataEntry" )
>ofrmCustomerDataEntry.Show()
>
>
>The above will just see the form appear and disappear right away.
>
>It works well if I use my 'old' way of:
>
>
>DO FORM frmCustomerDataEntry NAME ofrmCustomerDataEntry
>
>
If you have an array, you should store the reference in the array, e.g.
lnI = alen(oFormMgr.aForms,1) + 1
oFormMgr.aForms[lnI] = ofrmCustomerDataEntry
If it's not broken, fix it until it is.
My Blog