Other 1: Framework

<< Click to Display Table of Contents >>

Navigation:  Examples > Other samples >

Other 1: Framework

Previous pageReturn to chapter overviewNext page

The Ado Framework sample is an extended version of the standard framework sample that comes with VO 2.6

It has added an Ado method in the file menu, that allows you to open any OleDb connection:

Some of the things shown in the sample:

How to open the Driver Select dialog

How to query for the list of tables/views using the OpenSchema method

How to open an AdoServer

How to dynamically sort the results of a DataWindow

 

Framework1

 

It then displays a window where you can select the table to browse:

Framework2

 

And after you have selected the table, you can choose the cursor type, locktype etc to use when browsing the results:

 

Framework2b

 

The results are shown in a regular (Autolayout) datawindow:

 

Framework3

 

There is a lot of code in this sample. We advise you to study and look yourself