I did a little more debugging and found out that the report crashes in the print method on the report.  I have not overridden this method, the report crashes in the super call.  If I comment out the super call, all is well, however; the user will no0t be able to send the report to a printer if the super is not called in the print method.

I checked my code thoroughly and am sure that I am not wasting any memory whatsoever.  No unused variables, no memory is left hanging, and I made all calculations as lite on the system as possible.  I think there is some error happening between axapta and the printer.

Sonny Wibawa Adi <[EMAIL PROTECTED]> wrote:

Hi Studlee15,


I have experienced before with a report that crashed.
When I run the report by opening it or called it from
a form, then it was ok. But, when I called it from a
form that is called from a form, then it crashed. I
change the code (simplified) from:

display str Addr()
{
    str s;
    ;
    s += r.Addr;
}

into:

display str Addr()
{
    str s = '';
    ;
    s += r.Addr;
}

Then it's ok now.

Probably, you should check your code thoroughly.
Axapta can crashed when there is a memory management
failure or something like that.


Regards,

Sonny Wibawa Adi

--- studlee15 <[EMAIL PROTECTED]> wrote:
>
>
> I have just created an inventory report in which I
> join the
> inventtable,inventsum,inventdim, and
> inevnttablemodule tables. 
> Exerything works fine, until the last page is being
> displayed, then
> Axapta quits.  I use a temporary table and populate
> it from the
> previously mentioned tables.  The report gets
> through the tempTable
> populattion, and the loop in which I send the temp
> table to the
> report.  But somewhere in between where fetch
> finished exectuing,
> and when the report has totally finished, it crashes
> and kicks me
> out of Axapta, but not consistantly, sometimes it
> works fine, and
> somtimes not.
>
> I think there is a printer problem.  If I keep
> switching what
> printer to use, it seems to work OK, but if I
> continually run the
> report pointing to the same printer, it will
> eventually start
> crashing.
>
> Any Ideas??
>
>
>
>
>
>
>


           
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/




Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


           
---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to