Hello
I'm having a problem when i try to print a word document
from two diferent workstation at the same time and
powerbuilder is showing this message:
"Error calling external object function printout"
this is an example of the code
IF IS_EDITOR = 'WORD' THEN
if ole_WORD.isalive() then
try
if pos(upper(ms_wo.s_draft), 'DRAFT') > 0 and
gf_get_company_profile() = 'UAL' THEN
wf_create_watermark("DRAFT")
ole_WORD.Application.PrintOut
(False,False,0,"","","",0,1)
catch (runtimeerror er2)
Messagebox("Word Task Card", "Word Task Card not found."
+ 'Error: ' + er2.Text , stopsign!)
finally
end try
end if

Thank you
Daniel Valdes