Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid based on a cursor
Message
De
10/03/1998 12:29:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00083638
Message ID:
00083682
Vues:
22
Thanks for your help, but Ian suggestion of blanking the RecordSource prior to the SELECT and resetting it afterward works very well.

>When you rebuild your cursor with another SQL the Grid loses it's .RecordSource. Consequently, everything below that is lost as well. I've never tried this suggestion before (the lightbulb came on while reading your post) so if you try this let me know how it works.
>
>1. Create a temporary table based on the cursor returned from your SQL-SELECT
>2. Base Grid.RecordSource on this table
>3. Run the SQL and APPEND all records to table.
>
>When you need to update info:
>
>1. ZAP table
>2. Run SQL
>3. Append to table
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform