Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where can I find a complete CursorAdapter example
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00789092
Message ID:
00789238
Vues:
20
Mark;

Very nice!

Thank you for your work and making this available!

Tom


>http://www.mctweedle.com/downloads/CASample.zip
>
>It is only a sample against the Northwind DB that ships with VFP8 using the Customers table in a form. It uses a CA from a VCX that I created using my CA VCX Builder -- http://www.mctweedle.com/downloads/CABuilder.zip
>
>Get both files and read the comprehensive comments at the begining of the CABuilder PRG file. That will give you better insight on using the CA with Native, Oracle and SQL Server databases. It is free and has all source code.
>
>As for the sample form, you can modify the properties of the CA to hit the same Customers table in the NW DB that comes with MSDE if you have it installed. In short, you would change the DataSourceType of the CA to ODBC, remove the code from the DE BeforeOpenTables and provide the connection handle in the DataSource property of the CA. When you set the DataSource to a connection handle, use the equal sign in the property sheet -- =oApp.ConnectHandle or =lnHandle.
>
>If you use my builder, you only have to modify these properties ONE time in the CA baseclass in the VCX.
>
>
>>Hi,
>>
>>Does anyone have an example of CursorAdapter working in a Form (with 2 tables: invoice and products of invoice, for example...)?
>>
>>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform