Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids and refresh()
Message
De
08/05/1998 01:58:21
 
 
À
08/05/1998 01:55:19
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00097929
Message ID:
00097930
Vues:
26
Quinn....

When the source is an SQL query, recreating the query when the form is live is not good. Try creating a parameterized view in your database, example:

SELECT * FROM client WHERE name = ?cName

cName = variable holding a name that may change.

Then tie the grid to the view. When you REQUERY the view, refresh the grid. Problem resolved.



>Hi,
>When I use formname.grid1.refresh() after recreating the database using select-sql statements, it turns the grid all white and blank.
>What are we doing wrong????
>
>Please help
>~Quinn
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform