Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Extend CursorAdapter

Similar presentations


Presentation on theme: "Visual Extend CursorAdapter"— Presentation transcript:

1 Visual Extend CursorAdapter
VFX 18 E Visual Extend CursorAdapter German FoxPro User Group Venelina Jordanova

2 CursorAdapter? Class overview „Normal“ Cursor at run-time
Properties Methods Inheritance „Normal“ Cursor at run-time Saving data with Tableupdate()

3 Advantages of CursorAdapter
Chance to change the data source at run-time Data types conversion DBC disadvantages Connection information is accesible from DBC container Can be manipulated

4 Data access conception
CBaseDataAccess class (Vfxctrl.vcx) functionality Connection-Manager Programmatic class cconnectionmgr in Vfxfunc.prg Datasource can be changed at run-time Config.vfx - encrypted!

5 Planing a new application
Use CusorAdapter class only! Based on cBaseDataAccess class Advantages: Only one connection will be used Changeable datasource Easy to upsize from DBC to SQL Customers can decide about using DBC or SQL

6 MSDE and SQL Server Why to use SQL Server?
Scalability Security Maintainability MSDE does not contain administrative tools -> VFP Data Explorer

7 VFP Data Explorer Review and edit the database content DBC
SQL Server/MSDE

8 VFX – Upsizing Wizard Choose the local database to be upsized to SQL Server Select the destination database server, where to store the upsized database SQL Server (all versions) Oracle Name of remote database Tables selection Options Finish!

9 VFX - CursorAdapter Wizard
Creates a CursorAdapter class for every table in the selected database DBC DSN ConnectionString Select the source database Select base class and classlibrary Generating the CursorAdapter classes

10 Manage Config.vfx Establish the data access for VFX-Application
In the IDE At customer side Edit the encrypted file Password is kept in goProgram.cConfigPassword VFXPath.dbf compatible

11 Thank you! In next video you will see how to create a form using a CursorAdapter as data source Visit our websites: or news://news.dfpug.de


Download ppt "Visual Extend CursorAdapter"

Similar presentations


Ads by Google