Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RecordSourceType
Message
De
17/01/2003 08:17:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/01/2003 06:25:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00742800
Message ID:
00742817
Vues:
19
>I wish to populate a grid with either a table or SQL depending upon a user selection. I have added the necessary code into the "init" event of the grid:
>
>for table data grid.recordsourcetype = 0
>for SQL data grid.recordsourcetype = 4
>
>On the properties of the grid I have selected 0 (table)
>
>However, The grid always defaults to 0 Table.
>
>My question:
>
>Does the setting in the properties always overide teh settings in the code?
>
>Thanks
>
>Brendan

No. First set type then recordsource. If selection is on same form grid would bind itself to first alias it finds if no recordsource is given.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform