$szTitle = "wxdbcolfor"; include "./_header.inc"; ?>
beginning support for handling international formatting specifically on dates and floats.
wxstring s_field; // formatted string for output wxstring s_format[7]; // formatted objects - timestamp has the biggest (7) wxstring s_amount[7]; // formatted objects - amount of things that can be formatted int i_amount[7]; // formatted objects - tt mm yyyy hh mm ss m int i_nation; // 0 = timestamp 1 = eu 2 = uk 3 = international 4 = us int i_dbdatatype; // conversion of the 'sqldatatype' to the generic data type used by these classes sword i_sqldatatype;the constructor for this class initializes all the values to zero or null.
the destructor does nothing at this time.
only one function is provided with this class currently.
see the database classes overview for an introduction to using the odbc classes.
include files
<wx/db.h>
members
wxdbcolfor::format
wxdbcolfor::initialize
int format(int nation, int dbdatatype, sword sqldatatype, short columnsize, short decimaldigits)
work in progress, and should be inter-related with wxlocale eventually.
simply initializes all member variables to a cleared state. called by the constructor automatically.
include "./_footer.inc"; ?>