scribla
asked on
Computed text on response doc won't print
Hi experts,
I have a response doc that inherits values from it's parent. I am using this to provide the end user with an alternate format of the document for printing perposes..
There are no fields on the repsonse doc, only computed text.
The computed text displays fine when the responce doc is created, but when the user prints all values vanish!
Thanks.
I have a response doc that inherits values from it's parent. I am using this to provide the end user with an alternate format of the document for printing perposes..
There are no fields on the repsonse doc, only computed text.
The computed text displays fine when the responce doc is created, but when the user prints all values vanish!
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The main doc has an action button in the top bar. When clicked the response doc is created, displayed, printed and then discarded. (well thats the plan)
The user doesn't get prompted to save the doc on close as it doesn't contain any fields.
All the other content (normal text, tables, graphics) print fine. When you pick File > Print, (or use an action) you see all the computed text vanish just as the printer dialog appears.
re: The alternative way..
I did that yesterday, it works, but I was also hoping to employ similar functionality from within the doc itself.
scribla,
try saving the doc before printing and deleting it afterwards (the user has to have the abbility to delete docs in the acl).
Hope this helps,
Marko
try saving the doc before printing and deleting it afterwards (the user has to have the abbility to delete docs in the acl).
Hope this helps,
Marko
ASKER
strange... rather than do it with a forumla I just tried File > Save... all the computed text vanishes :(
scribla,
check whether the form property is checked: Form properties last tab (Security) - Disable printing, forwarding, copying to clipboard.
Hope this helps, although I doubt it,
Marko
check whether the form property is checked: Form properties last tab (Security) - Disable printing, forwarding, copying to clipboard.
Hope this helps, although I doubt it,
Marko
ASKER
I've decided to scrap the computed text idea. Instead I'm just using a load of fields with a default value that inherits from the parent.
Just hoping I can stop the thing prompting the user to save the doc, saveoptions field might work.
Just hoping I can stop the thing prompting the user to save the doc, saveoptions field might work.
ASKER
yeah works a treat. 50/50 on the points ok with you guys?
Just another option (pseudo-code):
Set doc= your_document
doc.Form= "the other form"
Call ws.EditDocument(..., doc,...)
I wonder what would happen, I haven't an ocean ;)
Set doc= your_document
doc.Form= "the other form"
Call ws.EditDocument(..., doc,...)
I wonder what would happen, I haven't an ocean ;)
By the way, I expect that the Compuetd Texts are computed twice: once when loaded and once before printing. The fieldnames used in the formulae don't exist anymore at that time.
ASKER
I think your spot on there sjef. Thanks.
ASKER