Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 1999-11-06 17:50:34 +00:00
parent 56dc1ffd50
commit 9695185a70
7 changed files with 44 additions and 6 deletions

View File

@ -114,6 +114,7 @@
* Use iODBC * Use iODBC
*/ */
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
/* /*
* Use Threads * Use Threads
*/ */

View File

@ -114,6 +114,7 @@
* Use iODBC * Use iODBC
*/ */
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
/* /*
* Use Threads * Use Threads
*/ */

View File

@ -119,6 +119,16 @@
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#define wxUSE_IOSTREAMH 0 #define wxUSE_IOSTREAMH 0
// VC++ 4.2 and above allows <iostream> and <iostream.h> // VC++ 4.2 and above allows <iostream> and <iostream.h>
// but you can't mix them. Set to 1 for <iostream.h>, // but you can't mix them. Set to 1 for <iostream.h>,

View File

@ -77,6 +77,7 @@
* Use iODBC * Use iODBC
*/ */
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#define wxODBC_FWD_ONLY_CURSORS 1
/* /*
* Use Threads * Use Threads
*/ */

View File

@ -173,6 +173,14 @@
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#ifndef __MWERKS__ #ifndef __MWERKS__
#define wxUSE_IOSTREAMH 1 #define wxUSE_IOSTREAMH 1
#else #else

View File

@ -169,6 +169,14 @@
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#define wxUSE_IOSTREAMH 1 #define wxUSE_IOSTREAMH 1
// VC++ 4.2 and above allows <iostream> and <iostream.h> // VC++ 4.2 and above allows <iostream> and <iostream.h>
// but you can't mix them. Set to 1 for <iostream.h>, // but you can't mix them. Set to 1 for <iostream.h>,

View File

@ -102,6 +102,15 @@
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
// Define 1 to use ODBC classes // Define 1 to use ODBC classes
#define wxODBC_FWD_ONLY_CURSORS 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
// that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
#define wxUSE_IOSTREAMH 1 #define wxUSE_IOSTREAMH 1
// VC++ 4.2 and above allows <iostream> and <iostream.h> // VC++ 4.2 and above allows <iostream> and <iostream.h>
// but you can't mix them. Set to 1 for <iostream.h>, // but you can't mix them. Set to 1 for <iostream.h>,