![]() |
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
![]() |
#include <DbControl.h>
Inheritance diagram for FXEX::DbControl::
Public Types | |
enum | { ID_DB_FIRST = 50000, ID_OPEN, ID_CLOSE, ID_FIELD, ID_FOCUSIN, ID_FOCUSOUT, ID_INSERT, ID_EDIT, ID_KILL, ID_POST, ID_CANCEL, ID_QUERY, ID_SCROLL, ID_FIRST, ID_PRIOR, ID_NEXT, ID_LAST, ID_PRINT, ID_DB_LAST } |
enum | DbMode { DB_INACTIVE, DB_BROWSE, DB_INSERT, DB_EDIT } |
enum | DbPosition { DB_BOF = -4, DB_EOF = -3, DB_FIRST = -2, DB_PRIOR = -1, DB_CURRENT = 0, DB_NEXT = 1, DB_LAST = 2, DB_FIND = 3 } |
Public Methods | |
DbControl (FXWindow *own, FXObject *tgt=NULL, FXSelector sel=0) | |
virtual | ~DbControl () |
FXbool | open () |
FXbool | close () |
FXbool | insert () |
FXbool | post () |
FXbool | cancel () |
FXbool | kill () |
FXbool | edit () |
FXbool | query () |
FXbool | first () |
FXbool | prior () |
FXbool | next () |
FXbool | last () |
FXbool | print () |
FXbool | isBof () const |
FXbool | isEof () const |
DbMode | getMode () const |
DbField * | getField (FXint i=-1) const |
DbField * | getField (const FXString &) const |
FXString | getQuery () const |
void | setQuery (const FXString &q) |
Definition at line 24 of file DbControl.h.
|
Definition at line 29 of file DbControl.h. |
|
Current mode of operation.
Definition at line 53 of file DbControl.h. |
|
Definition at line 61 of file DbControl.h. |
|
ctor.
|
|
dtor.
|
|
accessor methods.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
are we at the bottom of the dataset.
|
|
are we are the end of the file.
|
|
get the current mode of operation.
Definition at line 103 of file DbControl.h. |
|
get pointer to specific column (by column number), from current row.
|
|
get pointer to specific column (by column name), from current row.
|
|
return the query applied to the data.
Definition at line 112 of file DbControl.h. |
|
set the query applied to the data.
Definition at line 115 of file DbControl.h. |