>>>I was hoping to unbind a dbf from a listbox during the listbox's click event. Can this be done with a
>>>".RowSourceType=2
>>> .RowSource=""
>>> .rowsource= '' " command?
>>
>>Should work just as you want it to, Tim. Assuming, of course that you have a WITH and ENDWITH to go with your .XXXXX ;-)
>>
>>Barbara
>
>iT DIDN'T WORK, i STILL GET THE MESSAGE MEANING THE ORIG DBF IS STILL BOUND.
Timothy,
Add a requery method call to the items you have so it is;
WITH THIS
.RowSourceType=2
.RowSource=""
.rowsource= ''
.Requery()
ENDWITH