Simplicty and flexibility!


Issue with summed values line of output in Preview and Memo-AdvancedWebField


Started by Rob Birney
Search
You will need to Sign In to be able to add or comment on the forum!

Issue with summed values line of output in Preview and Memo-AdvancedWebField

I have a procedure with 8 'item sum' fields and an output that is set for a landscape size, however, when I output to Preview or Memo-AdvancedWebField it drops some of the summed values, at the bottom of the report, to a second line.  It appears to do this as the line would not have fitted for a portrait layout and it drops to the next line at the point where it would reach the edge of a portrait layout.  The Memo-AdvancedWebField is wide enough to cater for the landscape size and the items are all on just one line but the totals are on two.  Preview always opens in portrait (is there any way to tell it to open in landscape?) and as such always has the totals on two lines regardless of orientation even though the items in either portrait or landscape are only on one line.  If I output to a Memo-EditBox the columns don't line up, but the summed values are on the one line.

I am using MemoExecDQL to run the procedures. 


Written by Rob Birney 10/03/16 at 11:31:53 Dataease [{8}]FIVE

Re:Issue with summed values line of output in Preview and Memo-AdvancedWebField

I gather the output is HTML?

The "brilliance" of outputting to HTML into the WebField is that you can override any preset behaviour.

The flow of the output is governed by the object and the styling set for the object.

The styling can easily be overridden. You can link in your own CSS or you can just add it as part of the HTML.


.header
<style>
#MyBody {overflow:hidden;}
</style>
<div id="MyBody">
.items.
[{afield}]
.end
</div>


You can of course style any object you want, and you can also style it directly on the tag.

When working with HTML there is no limits which is why we are going down this route. 

If we fall short, you can always fix the problem with "tricks" in HTML.


Written by DataEase 10/03/16 at 12:57:00 Dataease [{8}]FIVE
DG3_ForumList