× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I did find the bug though.

idProj = %int(%subst(%char(ihEvent):2:5));

ihEvent was 0. Fixed with a if ihEvent <> 0;

--
Mike Wills
http://mikewills.me


On Thu, Feb 16, 2012 at 11:26 AM, Mike Wills <mike@xxxxxxxxxxxx> wrote:

Two users have been reporting the same problem with one of my
applications. I have a very complicated subprocedure that calculates the
taxes on an invoice. I had one of the users try a few things, but I can't
the program to crash on-demand (though it did several times though the
testing). The error I get is "Receiver value too small to hold result." The
user can log out and in again and retry it on the same invoice and it works
flawlessly. Thus my thought it may be activation group problem.

My modules are compiled with the H-Spec of

H nomain bnddir('ARBNDDIR') option(*srcstmt:*nodebugio)

My programs are complied with the H-Spec of

H ActGrp(*caller) BndDir('ARBNDDIR':'MODULES') DftActGrp(*no)

I am by no means an expert with activation groups. Should I change this to
a named activation group? ActGrp(ARACTGRP)

--
Mike Wills
http://mikewills.me


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.