- void SetFromClause(const wxString& From) { from = From; }
- void SetOrderByClause(const wxString& OrderBy) { orderBy = OrderBy; }
- void SetWhereClause(const wxString& Where) { where = Where; }
+ void SetFromClause(const wxString& From) { from = From; }
+ void SetOrderByClause(const wxString& OrderBy) { orderBy = OrderBy; }
+ bool SetOrderByColNums(int first, ...);
+ void SetWhereClause(const wxString& Where) { where = Where; }
+ void From(const wxString& From) { from = From; }
+ void OrderBy(const wxString& OrderBy) { orderBy = OrderBy; }
+ void Where(const wxString& Where) { where = Where; }
+ const char * Where() { return (const char *)where.c_str(); }
+ const char * OrderBy() { return (const char *)orderBy.c_str(); }
+ const char * From() { return (const char *)from.c_str(); }