How to delete empty rows from Grid in my Form? -
i use fill stringedit simple displaymethod.
this method selected see records mytable , discard others , method work well, but, in grid see empty records-rows(that record discarded).
for fill stringedit used dispaly method :
display myexdtypestring namefield() { mytable minetable; myexdtypestring name; while select minetable this.fieldtouse== "value" name = this.namefield; return name; }
there's way delete empty rows? in grid
i have lesf site state , want have right situation:
thanks all! enjoy
if trying form not display blank records easy setting querybuildrange on data source:
querybuilddatasource querybuilddatasource; querybuildrange querybuildrange; super(); querybuilddatasource = this.query().datasourcename(minetable_ds.name()); querybuildrange = querybuilddatasource.addrange(fieldnum(minetable, fieldtouse)); querybuildrange.value('>0');
Comments
Post a Comment