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.
LVL 2
scriblaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mbonaciCommented:
Hi scribla,
Check in designer those Computed texts - hide formula for printing (if I understood right - the values are not on the prited paper).

Hope this helps,
Marko
scriblaAuthor Commented:
Thanks, but sadly not. selected every element on the form and no ticks to hide under any circumstances.
Sjef BosmanGroupware ConsultantCommented:
Is there enough ink in the printer? ;)

Are there any fixed texts on the subform, so you know the subform is printed but not the fields?
When and how does the user print? Is the response document saved, or only printed and then thrown away?

The alternative way: you know you can open the original document with a different form? Create a copy of your view, open the view in the Designer, and use the Form Formula in the view's Objects frame to specify explicitly with what form the documents should be opened.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

scriblaAuthor Commented:

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.
mbonaciCommented:
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
scriblaAuthor Commented:
strange... rather than do it with a forumla I just tried File > Save... all the computed text vanishes :(
mbonaciCommented:
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
scriblaAuthor Commented:
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.
scriblaAuthor Commented:
yeah works a treat. 50/50 on the points ok with you guys?
Sjef BosmanGroupware ConsultantCommented:
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 ;)
Sjef BosmanGroupware ConsultantCommented:
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.
scriblaAuthor Commented:
I think your spot on there sjef. Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.