>>>>>Borislav,
>>>>>
>>>>>Thanks for your input.
>>>>>
>>>>>I am assuming that I can accomplish that in the BeforeCursorFill method?
>>>>>
>>>>>Scott
>>>>>
>>>>>>
>>>>>>You have tw differen options.
>>>>>>1. What Naomi already suggested - rebuild SelectCMD and use CursorFill() instead of CursorRefresh() method.
>>>>>>2. Built such SelectCmd that accept multiple parameters.
>>>>>>
>>>>>>In your case I'm with Naoimi. Build new SelectCmd and Fill the cursor again.
>>>>
>>>>Yes, you could change SelectCMD there, but If you want to change it again you should call CursorFill() not CursorRefresh()
>>>
>>>That may be a problem. The search form I am using has a grid on it. Calling the CursorFill() method does funky things to grids when you change requery the cursor adapter. I need to use CursorRefresh() to make the grid behave properly. So, maybe this solution may not work to solve my problem?
>>>
>>>Scott
>>
>>An easy way around that is to save the grid as a class. Drop the grid class on the form during Init. When you get ready to change the cursor, remove the grid, make the cursor, then drop the grid on the form again.
>
>William,
>
>That will work with the Form BoundControls = .T. setting?
Yes.
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________