• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Check for the presence of values during the back-end call

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Check for the presence of values during the back-end call

    Hi,

    I have the values being sent to back-end that are keyed in via pop-up window.
    UD20AN: TEST
    URGHRN: 10
    UOVHRN: 11
    UOTHRN: 12
    UEECLN:
    UEETYN:
    UJBNON: 530000
    USJNON: 500
    UDTEFN: 2019-01-01
    UDTCMN: 2019-12-31
    BATCHNO: 100
    sid: H540EA0N0VR27493BY69R5MB8VWKOR3X5QMQ0S5M9HKA9VMJLN VGS5KFR8GTN00F
    lang: en
    app: 1059
    env: 1001

    I am using EXNABBTN template to capture the values and process. My question is, is there a vvUtility to verify that UEECLN(from above example) is empty before i capture the value using something like %dec(%trim(vvIn_char('UEECLN')) : 9 : 0).

    CNX version: 5.2.20181215.2

  • #2
    There is not. I would suggest the following:

    Code:
    myChar = vvIn_char('UEECLN');
    if myChar <> *blanks;
      myNum = %dec(%trim(myChar):9:0);
    endif;

    Comment


    • #3
      Thanks Sean!

      Comment

      Working...
      X