Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids & CursorAdapter CursorFill()
Message
 
 
À
04/01/2011 09:05:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01494587
Message ID:
01494595
Vues:
62
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform