Tried it with
BTIUMED="DOXORUB"
I also tried it with
BTIUMED="CANDY"
hoping to get an error that made sense.

I got the same error in both cases.

I also tried

D FIND^DIC(50,"",".01;@","M",BTIUMED,"","","","","BTIUDRG","BTIUERR")

and that got rid of the error, but I do not get the drug names on the "DILIST",1,I nodes that you do.

Jim Gray

----- Original Message ----- From: "Greg Woodhouse" <[EMAIL PROTECTED]>
To: <hardhats-members@lists.sourceforge.net>
Sent: Thursday, July 28, 2005 4:33 PM
Subject: Re: [Hardhats-members] Error in FIND^DIC


That's an odd one. What is the value of BTIUMED? I tried it and got the
following results:


S BTIUMED="ASPIRIN"

D FIND^DIC(50,"","","M",BTIUMED,"","","","","BTIUDRG","BTIUERR")

ZW BTIUDRG
BTIUDRG("DILIST",0)="19^*^0^"
BTIUDRG("DILIST",0,"MAP")="FID(25)^FID(51)^FID(100)^FID(101)^FID(102)"
BTIUDRG("DILIST",1,1)="ASPIRIN 325MG ** EC ** TAB"
BTIUDRG("DILIST",1,2)="ASPIRIN 325MG BUFFERED TAB"
etc.

--- James Gray <[EMAIL PROTECTED]> wrote:

I have this line of code:

 D FIND^DIC(50,"","","M",BTIUMED,"","","","","BTIUDRG","BTIUERR")

I am getting this error back

BTIUERR("DIERR")="1^1"
BTIUERR("DIERR",1)=501
BTIUERR("DIERR",1,"PARAM",0)=2
BTIUERR("DIERR",1,"PARAM",1)=534016
BTIUERR("DIERR",1,"PARAM","FILE")=50
BTIUERR("DIERR",1,"TEXT",1)="File #50 does not contain a field
534016."
BTIUERR("DIERR","E",501,1)=""

I have no clue where it is getting 534016 from.

Does anyone know what is wrong?

Jim Gray



===
Gregory Woodhouse  <[EMAIL PROTECTED]>

"Design quality doesn't ensure success, but design failure can ensure failure."

--Kent Beck








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to