Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursoradapter
Message
From
10/05/2005 05:27:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01012283
Message ID:
01012376
Views:
29
>Hi all,
>
>I don't know if this happens to anyone; but it did and you found a way to rectify it, please advise. I have a cursoradapter that generates Client cursor that is bind to a grid. But when I attempt to add a where clause in the cSelectcmd and call cursorfill, the client cursor disappears. But if I do it in command window, it gives me the right result. Can someone tell me why this is happening? Thanks.

Julia,
Set grid's recordsource to "" before cursorfill and bind after cursorfill (if select command field order is not the same in grid you'd also need to save and restore column controlsources).
PS: If possible use CursorRefresh instead of Cursorfill. Then you don't need to save/restore controlsources.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform