Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids & CursorAdapter CursorFill()
Message
 
 
To
04/01/2011 09:05:56
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01494587
Message ID:
01494595
Views:
61
>Hi Naomi,
>
>If you want to use this approach, then you need to reset grid's recordsource to an empty string before calling CursorFill
>
>So, do you mean that instead of assigning the alias of a temp cursor with exactly the same structure as the original cursor, I assign RecordSource = "" like so..
>
>
>
>myGrid.RecordSource = ""   && use empty string instead of using a temp cursor alias with d same structure 
>myCA.CursorFill()
>myGrid.RecordSource = myCA.Alias
>
>
>
>Dennis

Yes, that's what I mean.

Alternatively, you can use always CA alias and use CursorRefresh instead of CursorFill if you only need to change parameter.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform