Files correlati : Commento : - Tolto file di configurazione per sbaglio committato tempo fa - Sistemato il collegamento in sqlset per spostamento classi - Aggiunta classe TDB_recordset che wrappa TXvt_recordset per aggiungere la compatibilità con Agalib git-svn-id: svn://10.65.10.50/branches/R_10_00@24152 c028cbd2-c16b-5b4b-a496-9718f37d4682
25 lines
505 B
C++
25 lines
505 B
C++
#include <dbrset.h>
|
|
|
|
|
|
real TDB_recordset::get_real(const char * field)
|
|
{
|
|
return real(get(field));
|
|
}
|
|
|
|
TDate TDB_recordset::get_date(const char * field)
|
|
{
|
|
/*
|
|
static TString dateApp;
|
|
dateApp.cut(0) << get(field);
|
|
*/
|
|
#ifdef DBG
|
|
message_box("Data da testare!");
|
|
#endif
|
|
// Ritorna un campo formato da YYYY-MM-DD:T****
|
|
return getDate(field);//TDate(dateApp.left(10));
|
|
}
|
|
|
|
TVariant TDB_recordset::get_variant(const char * field)
|
|
{
|
|
return TVariant(get(field));
|
|
} |