Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another simple grid question
Message
 
À
27/10/1998 10:31:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00150964
Message ID:
00151432
Vues:
27
>>I have a grid in which the RecordSourceType is "SQL Statement". I supply a RecordSource SQL string in the grids init. Can I change that RecordSource SQL sting at run time to something different? How do I get the grid to requery since it is not a view.
>>
>>Thanks
>
>You should issue:
>Grid.Recordsource=""
>Grid.Recordsource=cMynewsqlstring
>Grid.Refresh

All I do is issue Grid.Recordsource=cMynewsqlstring and the grid is smart enough to do the rest :)
Ken Sorce
Team RAD, Inc.
Rapid Application Developers
Ken@TeamRAD.com
www.teamrad.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform