Jump to content


Photo
- - - - -

Control Break


3 replies to this topic

#1 jell_c

jell_c

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male

Posted 08 September 2003 - 06:39 AM

:rolleyes:

Can anyone help me with this. I have a screen FUNCTION A. In the logic in of the function, it several reports. When this function is executed, I have to use F3 to exit out of the function. Upon the last F3 of the function, I used control break quiclky after the LAST F3. The data rolled back but the report printed...

Is there any way I CAN'T print the report (@LFUNCT) when the control break key is used?

Thank you and regards,
Jarel

#2 Chris Mackenzie

Chris Mackenzie

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 368 posts
  • Gender:Male
  • Location:Bristol, United Kingdom

Posted 08 September 2003 - 08:55 AM

Perhaps if you want to avoid printing a report, you can
include a confirmation prompt at the end of the previous
function and only proceed if user wants to?

ctrl-break should put you to the '?' prompt - does that
happen for you?

Why would you want to press F3 on the final input field
and then interrupt? And what significance does the
function 'A' logic-in have. You mention there are
reports there - are these Global Functions? If so
they have already run by the time you press F3
The content and views expressed in this message are those
of the poster and do not represent those of any organisation.

#3 Dan Shannon

Dan Shannon

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 374 posts
  • Gender:Male
  • Location:Australia

Posted 09 September 2003 - 02:38 PM

Chris is right - if these are global reports, then they're basically completed at the time they're executed (ie in function in logic), regardless of COMMIT/ROLLBACK against the database. This is not specific to PRO-IV, it's just normal unless you've implemented distributed transaction management (2PC) which isn't really plausible within PRO-IV on its own.

Cheers

Dan Shannon

#4 jell_c

jell_c

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male

Posted 10 September 2003 - 01:13 AM

:rolleyes:


Thank you very much!!

jell_c



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users