>After create a form will a combox with to show the field list,
>For Do Form Version, It work fine!
>
>But for CreateObject Version, it prompt to assign table on selection
>the working table. Why??
>
>2nd, If I open other forms and got another selection area,
>then open this form. The FIeld list do not change as my desire!!
>
>Even I code it will change table, the field do nothing!
>
>* ... successful to open table, even assign to
>* Grid Recordsource!
>
>with thisform
> .cbofield.rowsourcetype = 0
> .cbofield.rowsource = []
> .cbofield.rowsourcetype = 8
> .cbofield.rowsource = alltrim(.cboTable.value)
>EndWith
>
>
>The above with cause coding do not work!!!!
>But Work in Do Form Version!!! Why?!?!?!?
>Any Suggestion or Precausion can I do?!
>>_<"
If you save a form with tables in the DE as a class, the class does not preserve the DE (.vcx forms have no DE). So when instanciating forms from vcxs, you have open the tables manually. You are being prompted for a table becuase there is no table in the form.
Erik Moore
Clientelligence