Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PLS help~ about grid control!
Message
 
 
À
14/12/1999 10:02:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00303323
Message ID:
00303346
Vues:
13
>thx for reply first~
>but can u more specifiy on which grid properties can control it.
>and also where should i put it on , after i specifiy the recordsource or before or others?!
>THX~

In the property sheet for your grid, make the RecordSourceType = 4 [SQL Statement]. Your SQL code would go in the RecordSource property:

select tablea.*, tableb.* from tablea join tableb on tablea.ab1 = tableb.ab1 where tablea.ab1 = 'one' order by a2 into cursor crsResults

The name of the cursor can be whatever you want.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform