diff --git a/lv/lv2300.cpp b/lv/lv2300.cpp index 7e03323a2..2e623a85b 100755 --- a/lv/lv2300.cpp +++ b/lv/lv2300.cpp @@ -175,7 +175,7 @@ bool TGiri_mask::on_field_event(TOperable_field& o, TField_event e, long jolly) return true; } -class TGiri_report : public TReport_lv +class TGiri_report : public TLV_report { protected: virtual bool use_mask() { return false; } diff --git a/lv/lvlib.h b/lv/lvlib.h index 38dda16f8..ff7153b18 100755 --- a/lv/lvlib.h +++ b/lv/lvlib.h @@ -374,8 +374,11 @@ public: class TLV_report : public TReport { protected: - virtual bool set_recordset(const TString& sql); virtual bool get_usr_val(const TString& name, TVariant& var) const; + +public: + virtual bool set_recordset(TRecordset* rs) { return TReport::set_recordset(rs); } + virtual bool set_recordset(const TString& sql); }; #endif