First version of the DbBrowser demo program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
118
demos/dbbrowse/help.de/getcol.htm
Normal file
118
demos/dbbrowse/help.de/getcol.htm
Normal file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML><HEAD><TITLE>DBBrowser Help : Remstar ODBC Classes</TITLE></HEAD>
|
||||
<BODY BGCOLOR=#C6DFC6><CENTER><IMG SRC="../help.png/logo.png"></CENTER><BR><CENTER><B>DBBrowser<BR>Mark Johnson, Berlin Germany<BR>mj10777@gmx.net</B><HR></CENTER>
|
||||
<!----------------------------------------------------------------------------------------------------------->
|
||||
<TABLE border=1><B><TBODY><TR bgcolor=#CCFFFF>
|
||||
<TH><B><H3><IMG SRC="../help.png/remstar.png"><BR>Remstar ODBC Classes :<BR>Die neue wxDB::GetColumns() Funktion<BR>Beschreibung</H3><BR>(deutsch)</B></FONT></TH>
|
||||
</TABLE></TBODY></TR><P>
|
||||
<B>Stand: 2000-01-23.01-mj10777</B><HR>
|
||||
<!-------------------------------------------------------------->
|
||||
<TABLE border=1><B><TBODY>
|
||||
<TR><TH bgcolor=#CCFFFF><B>Es gibt 2 neue wxDB Funktionen : </B></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<!-------------------------------->
|
||||
<A NAME="GETCOLUMNS">
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFAA><B><A HREF="#GETCOLUMNS">wxColInf *wxDB::GetColumns(char *tableName, int *numCols, const char *userID)</A></B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFE0><B>Diese Funktion sichert alle (<I><FONT color=#FF0000>int numCols</FONT>) Informationen aus der Tabelle (<I><FONT color=#FF0000>char *tableName</FONT></I>).<BR>Es gibt das Ergebnis in eine <A HREF="#WXCOLINF">wxColInf</A> Stuktur (Klasse)</B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<!-------------------------------->
|
||||
<A NAME="GETKEYFIELDS"><P>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFAA><B><A HREF="#GETKEYFIELDS">int wxDB::GetKeyFields(char *tableName, wxColInf* colInf,int noCols)</A></B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFE0><B>Versucht herauszufinden ob irgend welche (<I><FONT color=#FF0000>int noCols</FONT></I>) Spalten (<I><FONT color=#FF0000>wxColInf* colInf</FONT></I>)<BR> aus der Tabelle (<I><FONT color=#FF0000>char *tableName</FONT></I>) <IMG SRC="../help.png/key.png"> Prim<EFBFBD>r- oder <IMG SRC="../help.png/keyf.png"> Fremdschl<EFBFBD>ssel sind.<HR>Diese Funktion wird aus GetColumns() aufgerufen.</B></FONT></TH></TR>
|
||||
</TBODY></TABLE><HR>
|
||||
<!----------------------------------------------------------------------------------------------------------->
|
||||
<TABLE border=1><B><TBODY>
|
||||
<TR><TH bgcolor=#CCFFFF><B>Es gibt 4 neue wxDB Klassen (Strukturen) : </B></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<!-------------------------------->
|
||||
<A NAME="WXDBINF"><P>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFAA><B><A HREF="#WXDBINF">wxDbInf</A></B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFE0>
|
||||
<B>Diese Klasse speichert alle ODBC-Informationen f<>r einen Datenbank :<HR>
|
||||
Katalogeintrag (<I><FONT color=#FF0000>char catalog[128+1]</I></FONT>),<BR>
|
||||
Schema (<I><FONT color=#FF0000>char schema[128+1]</I></FONT>)<BR>
|
||||
der Anzahl gefundene Tabellen (<I><FONT color=#FF0000>int numTables</I></FONT>)<BR>
|
||||
und eine Zeiger auf der (<I><A HREF="#WXTABLEINF">wxTableInf*</A><FONT color=#FF0000> pTableInf</FONT></I>) Struktur.
|
||||
</B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<!-------------------------------->
|
||||
<A NAME="WXTABLEINF"><P>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFAA><B><A HREF="#WXTABLEINF">wxTableInf</A></B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFE0>
|
||||
<B>Diese Klasse speichert alle ODBC-Informationen f<>r einen Tabelle :<HR>
|
||||
Tabellename (<I><FONT color=#FF0000>char tableName[DB_MAX_TABLE_NAME_LEN+1]</I></FONT>),<BR>
|
||||
Tabelletyp (<I><FONT color=#FF0000>char tableType[254+1]</I></FONT>) - "TABLE", "SYSTEM TABLE" etc. ,<BR>
|
||||
Tabellen Bemerkungen (<I><FONT color=#FF0000>char tableRemarks[254+1]</I></FONT>),<BR>
|
||||
der Anzahl gefundene Spalten (<I><FONT color=#FF0000>int numCols</I></FONT>)<BR>
|
||||
und eine Zeiger auf der (<I><A HREF="#WXCOLINF">wxColInf*</A><FONT color=#FF0000> pColInf</FONT></I>) Struktur.
|
||||
</B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<!-------------------------------->
|
||||
<A NAME="WXCOLINF"><P>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFAA><B><A HREF="#WXCOLINF">wxColInf</A></B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFE0>
|
||||
<B>Diese Klasse speichert alle ODBC-Informationen f<>r einen Spalte :<HR>
|
||||
Katalogeintrag (<I><FONT color=#FF0000>char catalog[128+1]</I></FONT>),<BR>
|
||||
Schema (<I><FONT color=#FF0000>char schema[128+1]</I></FONT>)<BR>
|
||||
Tabellename (<I><FONT color=#FF0000>char tableName[DB_MAX_TABLE_NAME_LEN+1]</I></FONT>),<BR>
|
||||
Spaltenname (<I><FONT color=#FF0000>char colName[DB_MAX_COLUMN_NAME_LEN+1]</I></FONT>),<BR>
|
||||
Datentyp (aus SQL) (<I><FONT color=#FF0000>SWORD sqlDataType</I></FONT>),<BR>
|
||||
Datatyp-Name(aus SQL) (<I><FONT color=#FF0000>char typeName[128+1]</I></FONT>),<BR>
|
||||
Spaltengr<67><72>e(aus SQL) (<I><FONT color=#FF0000>SWORD columnSize</I></FONT>),<BR>
|
||||
Pufferl<72>nge(aus SQL) (<I><FONT color=#FF0000>SWORD bufferLength</I></FONT>),<BR>
|
||||
Dezimalstellen(aus SQL) (<I><FONT color=#FF0000>short decimalDigets</I></FONT>),<BR>
|
||||
numPrecRadix (aus SQL) (<I><FONT color=#FF0000>short numPrecRadix</I></FONT>),<BR>
|
||||
Null-F<>hig (aus SQL) (<I><FONT color=#FF0000>short nullable</I></FONT>),<BR>
|
||||
Bemerkungen (<I><FONT color=#FF0000>char remarks[254+1]</I></FONT>),<BR>
|
||||
Datatype (from wxDB) (<I><FONT color=#FF0000>int dbDataType</I></FONT>),<BR>
|
||||
Prim<69>rschl<68>ssel (<I><FONT color=#FF0000>int PkCol</I></FONT>) 0=Nein; 1= Erste Schl<68>ssel, 2 = Zweite Schl<68>ssel usw.,<BR>
|
||||
Tabllennamen die diese Schl<68>ssel als Fremdschl<68>ssel verwenden (<I><FONT color=#FF0000>char PkTableName[DB_MAX_TABLE_NAME_LEN+1]</I></FONT>),<BR>
|
||||
Foreign-Key (<I><FONT color=#FF0000>int FkCol</I></FONT>) 0=Nein; 1= Erste Schl<68>ssel, 2 = Zweite Schl<68>ssel usw.,<BR>
|
||||
Tabellename wo diese Fremdschl<68>ssel als Prim<69>rschl<68>ssel (<I><FONT color=#FF0000>char FkTableName[DB_MAX_TABLE_NAME_LEN+1]</I></FONT>),<BR>
|
||||
und eine Zeiger auf der (<I><A HREF="#WXCOLFOR">wxColFor*</A><FONT color=#FF0000> pColFor</FONT></I>) Struktur.
|
||||
</B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<!-------------------------------->
|
||||
<A NAME="WXCOLFOR"><P>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFAA><B><A HREF="#WXCOLFOR">wxColFor</A></B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFFFE0>
|
||||
<B>Diese Klasse speichert wie diese Spalte als String formatiert werden soll :<HR>
|
||||
Ausgabestring (<I><FONT color=#FF0000>wxString s_Field</I></FONT>),<BR>
|
||||
Formatierte Objekten (TIMESTAMP needs 7) (<I><FONT color=#FF0000>wxString s_Format[7]</I></FONT>),<BR>
|
||||
Formatierte Objekten (<I><FONT color=#FF0000>wxString s_Menge[7]</I></FONT>),<BR>
|
||||
Formatierte Objekten (TT MM YYYY HH MM SS m) (<I><FONT color=#FF0000>int i_Menge[7]</I></FONT>),<BR>
|
||||
Nation (0=timestamp,1=EU,2=UK,3=International,4=US)<I><FONT color=#FF0000>int i_Nation</I></FONT>),<BR>
|
||||
Datatyp (aus wxDB) (<I><FONT color=#FF0000>int I_dbDataType</I></FONT>),<BR>
|
||||
Datatyp (aus SQL) (<I><FONT color=#FF0000>SWORD i_sqlDataType</I></FONT>),<HR>
|
||||
int Format(int Nation, int dbDataType,SWORD sqlDataType,short columnSize,short decimalDigits);<BR>
|
||||
Die Formatierte Objekten bekommen Standardwerte und Format() wird aufgerufen.<BR>
|
||||
Die Programmierer k<>nnen, wenn sie was besonderes haben wollen , diese Werte <20>ndern und Format() nochmal aufrufen.
|
||||
</B></FONT></TH></TR>
|
||||
</TBODY></TABLE>
|
||||
<TABLE border=1><B><TBODY>
|
||||
<TR><TH bgcolor=#FFBBBB><B>Diese Klasse ist eindeutig unterentwickelt !<BR>Es wurde erstmal zur Verwirklichung von DBGrid erstellt.<BR><EFBFBD>nderungen sind Wahrscheinlich. (Vorschl<68>ge sind Willkommen)</A></B></TH></TR>
|
||||
</TBODY></TABLE><P>
|
||||
<!----------------------------------------------------------------------------------------------------------->
|
||||
<TABLE border=1><B><TBODY><TR>
|
||||
<TR><TH bgcolor=#FFF777><B><A HREF="getcolsh.htm">Damit ist wohl alles klar</A>, oder ?</B></FONT></TH></TR>
|
||||
</TBODY></TABLE><HR>
|
||||
<!----------------------------------------------------------------------------------------------------------->
|
||||
</BODY></HTML>
|
Reference in New Issue
Block a user