Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
 
 
To
23/01/2007 13:28:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grid
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01167233
Message ID:
01188240
Views:
17
>>I have a CursorAdapter and its alias is a recordsource for the grid. When I execute CursorFill(.t.) for the CA, the grid becomes blank. Should I use safe select approach here or there are other alternatives?
>>
>>Thanks in advance.
>
>You shouldn't play with recordsource when focus is on grid. If recordsource is 'replaced' then you should call grid setup code (set column.controlsources etc.)

Edward,

The focus is not on the grid. I have a CA with the parameter. When parameter changes, I want to refresh my second grid. I'm using CursorFill(.t.) The general suggestion is to use safe select approach, but I thought may be it's not required for CA. I'm going to try CursorRefresh() instead.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform