× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

INPUT.ROUTINE CALLS 2 TIMES

More
3 years 10 months ago #22760 by SUNG
INPUT.ROUTINE CALLS 2 TIMES was created by SUNG
I create a version and set INPUT.ROUTINE field in my version but when I validate the version and then commit, it call to my routine 2 times, one when validation, and another one when commit. How can I prevent it call to the routine again when commit?

63.1 INPUT.ROUTINE : @SUNG.KCA.ENQ.OUT

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Away
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
3 years 10 months ago #22764 by VK
Replied by VK on topic INPUT.ROUTINE CALLS 2 TIMES
Hi
use global variable MESSAGE, it's different on validation and commit.

BTW, what if user doesn't click "validate" and just commits?

Cheers
VK

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #23115 by synq
Replied by synq on topic INPUT.ROUTINE CALLS 2 TIMES
This command using for validation only:
IF MESSAGE NE 'VAL' THEN RETURN
You can apply and tried it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds