date not posting

Richard Kreiss rkreiss at gccconsulting.net
Wed Mar 9 12:04:03 PST 2011


I have a routine that runs from 2 separate programs which create a new record.  The record is being create but the lookup field nyd(10)=@cd is not being filled.

Nyd(10) is (10,mdyy/)

See code:

309  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then: lookup nyd = ny_doc_fees  r=free  -n
310  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then:         nyd(1)=sj_num;nyd(2)=dc;nyd(3)=pc;nyd(4)=mc;nyd(5)=type
311  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then:         nyd(9)=amount;nyd(11)=CCPFee;nyd(18)=GroupCode;nyd(7)="N" ;nyd(10)=@cd;nyd(12)="O"
-   -   -   -   -   -   -
312  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:
       Then: write nyd

In another set of programs, I have the same basic program for creating this record except nyd(10)=addmonth(@cd).  In this case, the field is filled.

Anyone have a suggestion as to why in one case the field is blank and in the other, the field is filled.


Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  





More information about the Filepro-list mailing list