That is funny because it worked fine in this code
....S DIC=2
....S DIC(0)="LX"
....S X=^AOJFLD(AOJDFN,2,.01)
....S DLAYGO=2
....S DIC("DR")=""
....F FLD2=.02,.03,.09 D
.....S DIC("DR")=DIC("DR")_FLD2_"////"_^AOJFLD(AOJDFN,2,FLD2)_";"
....K Y
....D ^DIC
Jim Gray
----- Original Message -----
From: "Gregory Woodhouse" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, November 04, 2005 4:05 PM
Subject: Re: [Hardhats-members] Y=-1 After a ^DIC call
On Nov 4, 2005, at 1:09 PM, James Gray wrote:
Most of the time I get the 3 piece Y that you get below. In this one
case Y = -1 and I cannot figure out why. It happens that I am setting
DIC(0)="LX"
and
X= the value of the new .01 field.
I am trying Greg's suggestion. I am not sure I fully understand the FDA
Root and the IEN root.
Jim
Well, that's your problem. You can't make an exact (X flag) match to an
entry that doesn't exist. I'm glad UPDATE^DIE worked for you.
===
Gregory Woodhouse
[EMAIL PROTECTED]
"And the end of all our exploring
will be to arrive where we started
And know the place for the first time"
-- T.S. Eliot
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members