diff --git a/src/include/recset.h b/src/include/recset.h index 0cb629ba2..0738c5a7f 100755 --- a/src/include/recset.h +++ b/src/include/recset.h @@ -138,10 +138,13 @@ protected: virtual const TVariant& get_field(int logic, const char* field) const; virtual void set_custom_filter(TCursor& cursor) const { } - public: bool valid_cursor() const { return _cursor != NULL; } virtual TCursor* cursor() const; + void freeze(bool on = true) const { return cursor()->freeze(on); } + void unfreeze() const { return cursor()->freeze(false); } + bool frozen(bool on = true) const { return cursor()->frozen(); } + bool not_frozen(bool on = true) const { return cursor()->not_frozen(); } void set(const char* use); virtual void requery(); virtual TRecnotype items() const; @@ -171,4 +174,4 @@ int table2logic(const TString& name); TRecordset* create_recordset(const TString& sql); -#endif \ No newline at end of file +#endif