shift label
good day!
I have a table that has three fields.
This put the masterdata(fast-report) into three fields.
The fields are empty, empty their shows.
When I want to display, rather than empty fields are given shift.
As code:
in before print fast-report:
thanks
I have a table that has three fields.
This put the masterdata(fast-report) into three fields.
The fields are empty, empty their shows.
When I want to display, rather than empty fields are given shift.
As code:
in before print fast-report:
if memo1.text='' then
memo2.top:=3
else
memo2.top:=5;
thanks
Comments
Typically write code in obp event of the band containing the memos.
if <datasetname."fieldname"> = '' then
begin
//change object props here
end;
or just set the engines cury prop in the obp event of the memo you want to move
if <datasetname."fieldname"> = '' then
begin
engine.cury := engine.cury - value;
end;