Actually, you can have more than one -- or certainly it should. The
subscript below "ID" doesn't have to be "WRITE". You can have  "W1" or
"W2", etc. (the 'W' is a convention). Have you run into problems here?

--- steven mcphelan <[EMAIL PROTECTED]> wrote:

> If it is your own file that is should not be a problem.  But then it
> only
> allows for a single "pseudo-identifier" node.  On a file other than
> your
> own, you can clash with other packages that might want to add
> "pseudo-identifiers".  The PATIENT file itself has multiple
> "pseudo-identifiers".
> 
> ----- Original Message ----- 
> From: "Greg Woodhouse" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, January 05, 2005 10:21 AM
> Subject: Re: [Hardhats-members] Direct changes to ^DD
> 
> 
> > Why can't you do this with a write identifier?
> >
> > --- steven mcphelan <[EMAIL PROTECTED]> wrote:
> >
> > > There are times when one might want to edit a normal Fileman
> field
> > > identifier.  You do not like the way Fileman displays the
> information
> > > so you
> > > want to change that output.  However, you do want Fileman to
> prompt
> > > the user
> > > for those fields when they enter a new entry in a file.  Of
> course
> > > their is
> > > a Kludge away around this and it may be the preferable
> alternative.
> > > I am
> > > not exactly sure how the Fileman DBS code returns identifiers. 
> For
> > > example
> > > in LIST^DIC, does Fileman hard-code the returning of the
> identifier
> > > information if it is normal identifier and does not actually
> execute
> > > ^DD(file,0,"IX",field#)?   If that is the case then the
> modifications
> > > to
> > > that node that you make may not translate into returns from FM
> DBS
> > > calls.
> > >
> > > The kludge workaround could be to create a regular field
> identifier
> > > but
> > > answer NO to the Want to display prompt.  This way that field
> will be
> > > asked
> > > during new entry input.  Then you create the "pseudo-identifier"
> > > similar to
> > > Greg's suggestion.  Except I would not use the "WRITE" node.  
> You
> > > should
> > > have your own VA-DBA assigned namespace.  If you do not have one,
> > > then you
> > > should use the ZZ* namespace.   Thus you would set up
> > > ^DD(file,0,"ID",<namespace>).  Any writes must be handled by
> calling
> > > EN^DDIOL instead of using the WRITE command.
> > >
> > > ----- Original Message ----- 
> > > From: "Greg Woodhouse" <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Sent: Tuesday, January 04, 2005 7:38 PM
> > > Subject: Re: [Hardhats-members] Direct changes to ^DD
> > >
> > >
> > > > Regardless of the fields involved, you can create a write
> > > identifier
> > > > like this (where, of course, "number" should be replaced by
> your
> > > file
> > > > number):
> > > >
> > > >
> > > > >>S ^DD(number,0,"ID","WRITE")="D EN^DDIOL(""BOO!"",,""!"")"
> > > >
> > > > >>D Q^DI
> > > >
> > > >
> > > > VA FileMan 22.0
> > > >
> > > >
> > > > Select OPTION: INQUIRE TO FILE ENTRIES
> > > >
> > > >
> > > >
> > > > OUTPUT FROM WHAT FILE: GREG'S TEST FILE//
> > > > Select GREG'S TEST FILE MESSAGE ID: ?
> > > >     Answer with GREG'S TEST FILE MESSAGE ID:
> > > >    101        FIRST
> > > > BOO!
> > > >
> > > > --- Greg Woodhouse <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > I assume you are referring to Fileman geenrated identifiers
> like
> > > > >
> > > > > ^DD(filenum,0,"ID",.05) = W "   ",$P(^(0),U,2)
> > > > >
> > > > > I would not touch these at all: they are part of Fileman's
> > > domain.
> > > > > The
> > > > > whole point of so-called write identifiers is to give the
> > > programmer
> > > > > an
> > > > > opportunity to create custom identifiers. As a general rule,
> it's
> > > > > just
> > > > > not a good idea to play around with code that is generated by
> > > > > Fileman.
> > > > >
> > > > > If you go to the "Utility Functions" menu and choose
> > > "Identifier",
> > > > > you
> > > > > will be prompted for a field. If there is already an
> identifier
> > > > > defined
> > > > > for that field, Fileman will let you know and ask if you want
> to
> > > > > delete
> > > > > it. Otherwise, it will generate an "ID" node similar to the
> > > above.
> > > > >
> > > > > --- James Gray <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > Thank you.
> > > > > > I assume that if you want to edit a field identifier you
> have
> > > to
> > > > > > either
> > > > > > delete it and then re-enter it with your modifications or
> edit
> > > the
> > > > > > definition in the global.
> > > > > >
> > > > > > ----- Original Message ----- 
> > > > > > From: "Greg Woodhouse" <[EMAIL PROTECTED]>
> > > > > > To: <[email protected]>
> > > > > > Sent: Tuesday, January 04, 2005 4:12 PM
> > > > > > Subject: Re: [Hardhats-members] Direct changes to ^DD
> > > > > >
> > > > > >
> > > > > > > Okay, that makes sense. Take a look at
> > > > > > >
> > > > > > > <http://www.hardhats.org/fileman/pm/gfs_frm.htm>
> > > > > > >
> > > > > > > Since write identifiers have to be hard set, so you must
> > > remember
> > > > > > to
> > > > > > > add an "I" to the file characteristics node (0-node of
> file)
> > > > > > yourself.
> > > > > > >
> > > > > > > --- James Gray <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > >> We have not done anything yet.  We have not figured out
> how
> > > to
> > > > > > edit
> > > > > > >> an
> > > > > > >> identifier the way we MAY want it.
> > > > > > >>
> > > > > > >>
> > > > > > >> ----- Original Message ----- 
> > > > > > >> From: "Greg Woodhouse" <[EMAIL PROTECTED]>
> > > > > > >> To: <[email protected]>
> > > > > > >> Sent: Tuesday, January 04, 2005 1:46 PM
> > > > > > >> Subject: Re: [Hardhats-members] Direct changes to ^DD
> > > > > > >>
> > > > > > >>
> > > > > > >> > It shouldn't make a difference how the change was
> made, so
> > > > > long
> > > > > > as
> > > > > > >> > everything is structured correctly. But why are you
> > > > > hard-coding
> > > > > > a
> > > > > > >> > change to ^DD?
> > > > > > >> >
> > > > > > >> > --- James Gray <[EMAIL PROTECTED]> wrote:
> > > > > > >> >
> > > > > > >> >> If a programmer hard codes a change in a cross
> reference,
> > > > > > trigger,
> > > > > > >> or
> > > > > > >> >>
> > > > > > >> >> something similar in the ^DD global will a KIDS build
> > > include
> > > > > > that
> > > > > > >> >> change in
> > > > > > >> >> an automated way?
> > > > > > >> >>
> > > > > > >> >> Jim Gray
> > > > > > >> >>
> > > > > > >> >>
> > > > > > >> >>
> > > > > > >> >>
> -------------------------------------------------------
> > > > > > >> >> The SF.Net email is sponsored by: Beat the
> post-holiday
> > > blues
> > > > > > >> >> Get a FREE limited edition SourceForge.net t-shirt
> from
> > > > > > ThinkGeek.
> > > > > > >> >> It's fun and FREE -- well,
> > > > > > >> almost....http://www.thinkgeek.com/sfshirt
> > > > > > >> >> _______________________________________________
> > > > > > >> >> Hardhats-members mailing list
> > > > > > >> >> [email protected]
> > > > > > >> >>
> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > > > > >> >>
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > =====
> > > > > > >> > A practical man is a man who practices the errors of
> his
> > > > > > >> > forefathers. --Benjamin Disraeli
> > > > > > >> > ====
> > > > > > >> > Greg Woodhouse
> > > > > > >> > [EMAIL PROTECTED]
> > > > > > >> > [EMAIL PROTECTED]
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> -------------------------------------------------------
> > > > > > >> > The SF.Net email is sponsored by: Beat the
> post-holiday
> > > blues
> > > > > > >> > Get a FREE limited edition SourceForge.net t-shirt
> from
> > > > > > ThinkGeek.
> > > > > > >> > It's fun and FREE -- well,
> > > > > > >> almost....http://www.thinkgeek.com/sfshirt
> > > > > > >> > _______________________________________________
> > > > > > >> > Hardhats-members mailing list
> > > > > > >> > [email protected]
> > > > > > >> >
> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >> -------------------------------------------------------
> > > > > > >> The SF.Net email is sponsored by: Beat the post-holiday
> > > blues
> > > > > > >> Get a FREE limited edition SourceForge.net t-shirt from
> > > > > ThinkGeek.
> > > > > > >> It's fun and FREE -- well,
> > > > > > almost....http://www.thinkgeek.com/sfshirt
> > > > > > >> _______________________________________________
> > > > > > >> Hardhats-members mailing list
> > > > > > >> [email protected]
> > > > > > >>
> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > > =====
> > > > > > > A practical man is a man who practices the errors of his
> > > > > > > forefathers. --Benjamin Disraeli
> > > > > > > ====
> > > > > > > Greg Woodhouse
> > > > > > > [EMAIL PROTECTED]
> > > > > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -------------------------------------------------------
> > > > > > > The SF.Net email is sponsored by: Beat the post-holiday
> blues
> > > > > > > Get a FREE limited edition SourceForge.net t-shirt from
> > > > > ThinkGeek.
> > > > > > > It's fun and FREE -- well,
> > > > > > almost....http://www.thinkgeek.com/sfshirt
> > > > > > > _______________________________________________
> > > > > > > Hardhats-members mailing list
> > > > > > > [email protected]
> > > > > > >
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > > > >
> > > > > >
> > > > > >
> > > > > > -------------------------------------------------------
> > > > > > The SF.Net email is sponsored by: Beat the post-holiday
> blues
> > > > > > Get a FREE limited edition SourceForge.net t-shirt from
> > > ThinkGeek.
> > > > > > It's fun and FREE -- well,
> > > > > almost....http://www.thinkgeek.com/sfshirt
> > > > > > _______________________________________________
> > > > > > Hardhats-members mailing list
> > > > > > [email protected]
> > > > > >
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > > > >
> > > > >
> > > > >
> > > > > =====
> > > > > A practical man is a man who practices the errors of his
> > > forefathers.
> > > > > --Benjamin Disraeli
> > > > > ====
> > > > > Greg Woodhouse
> > > > > [EMAIL PROTECTED]
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > > > Get a FREE limited edition SourceForge.net t-shirt from
> > > ThinkGeek.
> > > > > It's fun and FREE -- well,
> > > almost....http://www.thinkgeek.com/sfshirt
> > > > > _______________________________________________
> > > > > Hardhats-members mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > > > >
> > > >
> > > >
> > > > =====
> > > > A practical man is a man who practices the errors of his
> > > forefathers. --Benjamin Disraeli
> > > > ====
> > > > Greg Woodhouse
> > > > [EMAIL PROTECTED]
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > > Get a FREE limited edition SourceForge.net t-shirt from
> ThinkGeek.
> > > > It's fun and FREE -- well,
> > > almost....http://www.thinkgeek.com/sfshirt
> > > > _______________________________________________
> > > > Hardhats-members mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > Get a FREE limited edition SourceForge.net t-shirt from
> ThinkGeek.
> > > It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> > > _______________________________________________
> > > Hardhats-members mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > >
> >
> >
> > =====
> > A practical man is a man who practices the errors of his
> forefathers. --Benjamin Disraeli
> > ====
> > Greg Woodhouse
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > The SF.Net email is sponsored by: Beat the post-holiday blues
> > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> > _______________________________________________
> > Hardhats-members mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 


=====
A practical man is a man who practices the errors of his forefathers. 
--Benjamin Disraeli
====
Greg Woodhouse 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to