Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrolling In Grid
Message
De
04/03/1999 11:10:37
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonésie
 
 
À
04/03/1999 02:46:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00193885
Message ID:
00194045
Vues:
18
Hi Oliver,

Try to make a Parameterized SQL view as your grid.recordsource,

like this,

LOCAL lcCondition
lcCondition="mycondition" &&& or you can add Space(0), or any data type needed

Create SQl View myView as ;
Select a.*,b.* FROM mytable1 a,mytable2 Where a.myfield1=b.myfield2 and;
a.myfield1=lcCondition

Use this View as Grid.recordsource

So you can change the condition each time you needed by :

Local lcCondition
lcCondition="anyCondition"
=Requery(grid.recordsource)
grid.refresh()

HTH
Senna Dwipayana
Being good is better
Being better is a bless
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform