Object variable or with block variable not set

Hi there,

It would be gr8 if some one could help me out to track this run time error.

"Object variable or with block variable not set"

I encounter this when I run the code:

.report.database.logoffserver "pdsora.dll", DSource, "", DDataBase, PassWd

Actually, I need to write this code to end the session that was created to view/generate a report after the report's utility has been over. So I am writing this code at the form unload of the Report viewer. But then I encounter this error.

Is there someother better option to close a session to a report once used. If so that would be a great help(Cos I am stuck with too many sessions getting created in oracle that causes a jam in the utility of the same when a number of users use reports.

thanx and anticipating many a response.

rgds
Abigail

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories