• Stack error with letters/fax's via action buttons

    By Jonathan Splatt 2 decades ago

    Dont know if im doing something wrong but when i try and create a letter or fax via the action button your program gets in a loop untill i get a stack overflow error. The issue seems to be with either the post open event on these forms or the agent. For instance REM'ing out



    Call journaldoc.ReplaceItemValue("NewDocFlag", "1")



    in the vaCreateLetter agent stops the loop but the resulting letter has no header. Any idea what im doing wrong?

    • Unable to reproduce problem.

      By Dave Leigh 2 decades ago

      I'm not sure what's going on with your setup, Jonathan. In testing here I haven't been able to reproduce it. I'll have a new release out by the end of this month; however, I'd be interested to get together with you to investigate the problem. If you're seeing it, chances are somebody else is, too.

      • Temp work around

        By Jonathan Splatt 2 decades ago

        I added doc.NewDocFlag="0" to the querysave on the letter form which seemed to stop the issue.