Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requerying Grids
Message
De
29/05/2001 05:43:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/05/2001 05:28:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00512104
Message ID:
00512111
Vues:
11
>Hi
>
>What is the best way to requery a grid with a RO cursor in it, whenever I requery the cursor, the grid is just blank.
>
>Any ideas?
>Thanks
>Kev

Kevin,
If cursor is RO then set RecordSourceType = 4 (SQL) and put your SQL as a string to RecordSource. hen all you need is grid.refresh. Otherwise at least do :
.RecordSource=''
* update cursor
.Recordsource = 'cursorname'

The grid might go blank with the first option if your where clause points to afield that's not indexed in base table.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform