gSAFE
1.3.8
|
#include <xbioconn.h>
Public Member Functions | |
HXBaseRecordSync () | |
void | assign (QString htablefieldsqlname, QString xbasefieldname) |
void | clearAssigns (void) |
int | syncHTableToXBase (HTable *record, HXBaseFileWriter *dbf) |
int | syncXBaseToHTable (HXBaseFileReader *dbf, HTable *record) |
Public Member Functions inherited from HBase | |
HBase (void) | |
~HBase (void) | |
QString | getWhoami (void) |
Additional Inherited Members | |
Protected Attributes inherited from HBase | |
QString | whoami |
The HXBaseRecordSync enables you to easely syncronise a HTable record to Xbase and reverse. After you assign the gSAFE fields (HDataField) to XBase fields you can copy the whole record in one step. Look this exaples:
Import an XBase (.dbf) table to SQL table with gsafe by record to record. (Note: This is not a directy copy, both tables can contains more field's than copyed)
Export a complete sql table by record to record to XBase (.dbf) file. (Note: This is not a directy copy, both tables can contains more field's than copyed)
Definition at line 110 of file xbioconn.h.
HXBaseRecordSync::HXBaseRecordSync | ( | void | ) |
Creates a HXBaseRecordSync object
Definition at line 26 of file xbioconn.cpp.
void HXBaseRecordSync::assign | ( | QString | htablefieldsqlname, |
QString | xbasefieldname | ||
) |
Add a new gSAFE - XBase field assign
Definition at line 37 of file xbioconn.cpp.
void HXBaseRecordSync::clearAssigns | ( | void | ) |
Clears all gSAFE - XBase field assign
Definition at line 42 of file xbioconn.cpp.
int HXBaseRecordSync::syncHTableToXBase | ( | HTable * | record, |
HXBaseFileWriter * | dbf | ||
) |
Sync the assugned data from gSAFE Htable to XBase
Definition at line 47 of file xbioconn.cpp.
int HXBaseRecordSync::syncXBaseToHTable | ( | HXBaseFileReader * | dbf, |
HTable * | record | ||
) |
Sync the assugned data from XBase to gSAFE Htable
Definition at line 94 of file xbioconn.cpp.