Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO and FlexGrids
Message
De
28/12/1999 14:26:05
 
 
À
28/12/1999 13:02:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00308953
Message ID:
00309359
Vues:
22
>>
>>I wondered if you meant testing the ADO control and grid and tested it myself. You're right, it does work just fine.
>>
>>Terry,
>>the trick to getting the grid to show the data is to include the .object reference when assigning the grid's datasource property:
>>This.Grid1.Datasource = This.Adodc1.Object
>>If you don't (in case you saw some VB examples) you'll get the type mismatch error message. I typed this in the form's init. The grid is MS Datagrid 6.0 and MS ADO DC 6.0, both SP3. For this test I used the data control's properties to obtain a recordset, but you can use the .Recordset property to assign your own recordset object.
>>
>>Only one problem: the data control went invisible at run time, even when .Enabled=.t. and .Visible=.t.
>>Any thoughts on that John? Thanks,
>
>
AFAIK it's always invisible like custom control. Isn't it and those left - right buttons effective in fact ? Its PEM works as expected.
>Cetin

Cetin,
Terry found out if you set visible property at runtime the DC will show. But you're right there's not a whole lot of use for this type of control in a Client/Server and/or n-tier environment.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform