Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GRID Not refreshing properly
Message
 
 
À
23/07/2001 09:51:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00533875
Message ID:
00533887
Vues:
10
Hi!

Page of pageframe is not refreshed until it is activated. You have to refresh it as sonn as it is activated. Better do this using UIEnable event of some control on each page - put this.paret.Refresh() when page is activated.

HTH.

>FoxGuru's
>
>I have a form, with multiple pages, and on one of the pages I have a Grid.
>
>This Grid is not populated by a view, it is directly-linked to a table.
>
>On this Grid, when the user selects a row, I want to take data from that newly
>selected row and display it on the form.
>
>Seems simple, but the data it displays is always the LAST row selected, not the new current record. What is going on here? Is there something I need to refresh? Its like the DB pointer isn't updating...
>
>This code is on a grid procedure, under grid object : AfterRowColChange
>
>thisform.refresh
>thisform.textheader.caption = This.Reqtname.text1.value
>thisform.refresh
>
>using this code, it updates the form textheader with the last selected row data, not the new selected row data.
>
>THANKS FOR HELPINGGGGGGG!!!
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