Skip to Content
0
Former Member
Mar 11, 2009 at 10:46 PM

Running Crystal report( with subreport) from VB6 using CRAXDRT.Report

200 Views

The application (vb5 with CRAXDRT.Report version 11.5) works for more than 50 different reports.

This special report has a subreport with 5 Link elements.

Report works fine with Crystal XI. But when gets fired from vb6 application, after 2 or 3 times

(sometimes at the first time), application crashes with following error message pops up:

vb6.exe-Application Error.

Instruction at 0x0000000 referenced memory could not be "read"

The link elements of subreports are:

(MSP for Main report's stored proc, SSP for Subreport's stored proc)

MSP . @Prior -> SSP.@Prior

MSP . @managerID -> SSP.@managerID

MSP . @showall -> SSP.@showall

MSP . officeid-> SSP.@officeid

MSP . manager -> SSP.manager (items with @ sign are Parameters)

If I delete the last link element this error never happens !

Any clue ?