hossjer
8th January 2009, 14:56
Hello,

we have a costumised session wich generates our production forms,

In this report it opens different reports with brp.open()
It worked fine but after a udate in ERP LN
is doesn't work any more.
in debugger it goes trough the script and no error reported.
When you look in the processes, the report viewers are active but there is no output on display.

Anyone a answer?

Hoss

_Ralph_
8th January 2009, 15:40
1 - Compile the session and the reports linked to it
2 - check the device you're using

hossjer
8th January 2009, 16:21
Thanx for the reply,

but i already compiled the session and the reports,
device is display.

This doesn't help

Any other idea?

Greetz

_Ralph_
8th January 2009, 17:44
brp.open returns a long.

What number did you get?

hossjer
9th January 2009, 09:09
Where can you find this number? in debugger or somewhere else?

Greets

v_kewl
9th January 2009, 10:33
long ret
ret = brp.open( string rep_name(16), "D", 0)
check ret value in debugger mode

hossjer
9th January 2009, 11:05
Hello,

we have uninstalled feature pack 3 en now its works fine.
Perhaps LN goes to fast through he scripts and gets lost or something

strange,

Thanks

_Ralph_
9th January 2009, 14:20
That's right

according to the programmers guide:

Return values

>0 an ID for the activated report

0 report could not be activated

-1 spooler could not be opened

hossjer
12th January 2009, 09:31
oke,

In the processes when you see the reportviewers there is a number behind it
example: report-viewer (545)

and the processes are light-blue.

greetz