Date:         Wed, 31 Oct 90 09:46:57 EST
Reply-To:     The NOMAD2 Discussion List
Sender:       The NOMAD2 Discussion List
From:         Jeff Dyer
In-Reply-To:  Is it possible in Nomad to do the following?

I think it may be possible to do what you are asking.  However my
knowledge of NOMAD is little at this point in time.  We use NOMAD
for our Purchase Order system and do something similiar to what you
are asking.  When a Purchase order is created, we want to know whether
an invoice has been processed against the order yet or not.  So, in
our Schema we have the following lines:

DEFINE F_P_STR as A1
     IF F_P_STR contains('F')
         then
              'F'
     else if f_p_str contains('P')
          then
               'P'                 (this tells us if the F_P_STR field is
                                    F, being fully paid, or P, being partially
                                    paid)

then on the screen where we want it to say FULLY PAID or Partially PAID there
are the following lines in the window procedure:

Define F_P_LINE as a20 expr =
     if f_p_total = 'F'
         then
             'FULLY PAID'
     else if f_p_total = 'P'
          then
             'PARTIALLY PAID'
     else
             'NO PAYMENTS MADE YET';

(and on the screen instead of displaying the data entered in the F_P_TOTAL
field we display the data define in the F_P_LINE field.

I hope this can be of help to you.
back to index