date not posting

Kenneth Brody kenb at fptech.com
Wed Mar 9 12:22:59 PST 2011


On 3/9/2011 3:04 PM, Richard Kreiss wrote:
> 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:
[...]
> Then: lookup nyd = ny_doc_fees  r=free  -n
[...]
> Then: nyd(1)=sj_num;nyd(2)=dc;nyd(3)=pc;nyd(4)=mc;nyd(5)=type
[...]
> Then: nyd(9)=amount;nyd(11)=CCPFee;nyd(18)=GroupCode;nyd(7)="N" ;nyd(10)=@cd;nyd(12)="O"
[...]
> 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.

Add the following to both processing tables, after the assignment:

     mesgbox "@CD = '" & @cd & "'  nyd(10) = '" & nyd(10) & "'"

What do you get in each instance?

-- 
Kenneth Brody


More information about the Filepro-list mailing list