Re: [Hardhats-members] More DINUM problems

2004-11-24 Thread steven mcphelan
- From: Kevin Toppenberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 5:37 PM Subject: RE: [Hardhats-members] More DINUM problems Thanks Skip, I also have gotten this working. For complex reasons, my install scripter was adding the record, and then trying

Re: [Hardhats-members] More DINUM problems

2004-11-24 Thread Greg Kreis
, November 23, 2004 5:37 PM Subject: RE: [Hardhats-members] More DINUM problems Thanks Skip, I also have gotten this working. For complex reasons, my install scripter was adding the record, and then trying to overwrite it a second time. It working now. I think you cheated a bit bel

Re: [Hardhats-members] More DINUM problems

2004-11-24 Thread Kevin Toppenberg
the already existing VistA options that accomplish that task or write a script to those options? - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 5:37 PM Subject: RE: [Hardhats-members] More DINUM problems Thanks

Re: [Hardhats-members] More DINUM problems

2004-11-24 Thread Nancy E. Anthracite
] To: [EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 5:37 PM Subject: RE: [Hardhats-members] More DINUM problems Thanks Skip, I also have gotten this working. For complex reasons, my install scripter was adding the record, and then trying to overwrite it a second time

Re: [Hardhats-members] More DINUM problems

2004-11-24 Thread steven mcphelan
of an existing user to a new role, for example, changing a resident to an attending physician. - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:57 AM Subject: Re: [Hardhats-members] More DINUM problems Steven, Thanks

Re: [Hardhats-members] More DINUM problems

2004-11-23 Thread Kevin Toppenberg
Nancy, Thanks for your post. I don't think that the FILE^DIE and UPDATER^DIE will balk as partial matches. In other words, if I tell it XUPROG, it does not get confused with XUPROGMODE. I know that interactive fileman will ask about this, but I have already used it for looking up menu options,

Re: [Hardhats-members] More DINUM problems

2004-11-23 Thread Greg Woodhouse
There's actually a flag to control this behavior. If you look at the documentation for FIND^DIC, you'll find the following description for the O (for Only) flag: Only find exact matches if possible. The Finder first searches for exact matches on the requested Index(es); if any are found, it

RE: [Hardhats-members] More DINUM problems

2004-11-23 Thread Ormsby, Skip
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Woodhouse Sent: Tuesday, November 23, 2004 12:55 PM To: [EMAIL PROTECTED] Subject: Re: [Hardhats-members] More DINUM problems There's actually a flag to control this behavior. If you look

RE: [Hardhats-members] More DINUM problems

2004-11-23 Thread Kevin Toppenberg
: Tuesday, November 23, 2004 12:55 PM To: [EMAIL PROTECTED] Subject: Re: [Hardhats-members] More DINUM problems There's actually a flag to control this behavior. If you look at the documentation for FIND^DIC, you'll find the following description for the O (for Only) flag: Only find exact

[Hardhats-members] More DINUM problems

2004-11-22 Thread Kevin Toppenberg
I am hitting a DINUM error message again that I don't understand. I know that a DINUMed error is when a user is trying to add multiple records when there is supposed to be only one entry. But I am getting this when I try to add keys to a user. There are supposed to be multiple entries here, so

Re: [Hardhats-members] More DINUM problems

2004-11-22 Thread Greg Kreis
Wait... by calling UPDATE with the internal value for the .01 field, you won't be performing the .01 field's input transform that created DINUM. So, it looks like you have to use the inbound IEN array to specify a sub-file record number for the new record that is the same value as the .01

Re: [Hardhats-members] More DINUM problems

2004-11-22 Thread Greg Kreis
Kevin Toppenberg wrote: Greg, Thanks for your reply. So in my install script, I have a long list of keys that I want to ensure that a given user has. Am I getting this DINUM error because I am trying to add a key that already exists for the user, or because the FILE^DIE function can't

Re: [Hardhats-members] More DINUM problems

2004-11-22 Thread Kevin Toppenberg
Greg, Thanks for your reply. So in my install script, I have a long list of keys that I want to ensure that a given user has. Am I getting this DINUM error because I am trying to add a key that already exists for the user, or because the FILE^DIE function can't handle DINUM entries? How else

Re: [Hardhats-members] More DINUM problems

2004-11-22 Thread Nancy E. Anthracite
Could this be the issue? XUPROG and XUPROGMODE both start the same, so if you put that you want to give someone the XUPROG key, it will want to know if it is XUPROG or XUPROGMODE you are talking about. So maybe you are tapping into something designed to prevent confusion about that sort of

Re: [Hardhats-members] More DINUM problems

2004-11-22 Thread Nancy E. Anthracite
Sorry for my earlier post. I saw later that it was all sorted out and I am way off base. -- Forwarded Message -- Subject: Re: [Hardhats-members] More DINUM problems Date: Monday 22 November 2004 10:37 pm From: Nancy E. Anthracite [EMAIL PROTECTED] To: [EMAIL PROTECTED] Could