Patch level : 10.0 nopatch
Files correlati : pd6342.exe Ricompilazione Demo : [ ] Commento Habilita ripartizione ricorsiva git-svn-id: svn://10.65.10.50/branches/R_10_00@20964 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2efdfb0034
commit
b53d19d0be
@ -277,11 +277,12 @@ TRecnotype TCSV_recordset::new_rec(const char* rec)
|
|||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TCSV_recordset::create_column(const char * name)
|
void TCSV_recordset::create_column(const char * name, TFieldtypes type)
|
||||||
{
|
{
|
||||||
|
|
||||||
TRecordset_column_info * info = new TRecordset_column_info;
|
TRecordset_column_info * info = new TRecordset_column_info;
|
||||||
|
|
||||||
info->_name = name;
|
info->_name = name;
|
||||||
|
info->_type = type;
|
||||||
_trc.add(info);
|
_trc.add(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ public:
|
|||||||
virtual TRecnotype new_rec(const char* buf = NULL);
|
virtual TRecnotype new_rec(const char* buf = NULL);
|
||||||
virtual bool set(unsigned int fld, const TVariant& var);
|
virtual bool set(unsigned int fld, const TVariant& var);
|
||||||
virtual void destroy_column(const int ncol = -1, bool pack = true) { _trc.destroy(ncol, pack); }
|
virtual void destroy_column(const int ncol = -1, bool pack = true) { _trc.destroy(ncol, pack); }
|
||||||
virtual void create_column(const char * name);
|
virtual void create_column(const char * name, TFieldtypes type = _alfafld);
|
||||||
virtual bool load_file(const TFilename& n);
|
virtual bool load_file(const TFilename& n);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user