>I have fixed the problem of changing he data in combo box.
>Thanks for your suggestion.
>
>I also have a question. Should I need code the following statement in the Destory event.
>IF USED ("ComboBox") THEN
> USE IN ComboBox
>ENDIF
>
Yes, considering that you are creating a cursor with a fixed name within the combobox, you must explicitly un-USE the cursor when closing the form. Maybe it might be better, as well, to put the USE IN statement within the QueryUnload event of the form.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05