macros - Open Office Base Form's record status -
i'm using openoffice base , basic macros control forms.
i used program microsoft access-basic , there things don't know correspondence in openoffice base macro basic.
how can retrieve current record status of form?
i mean status describes if record in edit-mode, view-mode or new-record mode.
in access basic these statuses described in single property specify whether record in:
- editmode: when value of saved record changed, until hitting save.
- newrecordmode: when fields empty in order user assign values of new record, until hitting save.
- viewmode: when user preview record, without of above actions take place.
is there correspondence in openoffice base macro basic? there property or indicate these statuses?
after hours of researching, found answer on own:
oform = thiscomponent.drawpage.forms.getbyname("myform") oform.ismodified() (boolean edit mode) oform.isnew() (boolean newrecord mode)
thanks anyway!
Comments
Post a Comment