Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing Grid Contents
Message
 
 
À
18/10/2002 00:49:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00712710
Message ID:
00712751
Vues:
10
Hi!
thisform.MyGrid.RecordSource=""
SELECT ... INTO CURSOR BOR nofilter && or call your method that does requery of data
thisform.MyGrid.RecordSource="BOR"
Note that you will lose your custom control sources in columns after that, if they do not match exactly to the order of fields in cursor.

You can read more details in the "VFP Grids Part I" article on this site.

HTH.

>I have a grid containing data from cursor BOR which is created using SQL query in the LOAD event of the form. I need to be able to refresh the data in the cursor, and display the updated cursor in the grid, while the form is still loaded
>
>Where should I place the the SQL query to re-create the cursor BOR in the form?
>
>I asked this question some time ago and some people were kind enough to reply but I accidentally deleted their answers! So please reply to this again even if you may have helped out beforehand!
>
>Thank you
>
>Bob
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform