Justok,
I imagine it's an issue of object instantiation order, in one case teh cbo exists before the grid, and in the other case it does not. If you are basing one control on another you are better off delaying the setting of those properties until the container Init, because by that time both contained objects are guaranteed to exist.
>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?!
>>_<"