I'm sure it is obvious, but did you double check that the
pointer is actually valid?  I know FileMan just returns a number
if the pointer is not actually pointing somewhere.

Let's say the number displaying is 1532.  Since the root for the
PATIENT file (#2) is "^DPT(" then I would like to know if 

MUMPS> W ^DPT(1532,0),!

produces an error, or if it produces a line.
If it produces an error, you don't have an valid pointer.
by the way, an error in GT.M looks like:
%GTM-E-GVUNDEF, Global variable undefined: ^DPT(2,1532,0)

I don't have my Cache box available to remind you what the error
in Cache looks like, sorry.

David Whitten
713-870-3834

> 
> Yes, I know it is a pointer.  But in this case it is
> not a dangling pointer.  Screen man is displaying the
> valid IEN number for the patient instead of the name. 
> 
> 
> Kevin
> 
> 
> --- Gregory Woodhouse
> <[EMAIL PROTECTED]> wrote:
> 
> > As I'm sure you've guessed, the .01 field is a
> > pointer to file 2. My  
> > guess is that there is no entry in file 2 with the
> > value you see as  
> > ien (i.e., you have a dangling pointer). Of course,
> > it could be  
> > something else, but dangling pointers do behave this
> > way.
> > 
> > ===
> > Gregory Woodhouse
> > [EMAIL PROTECTED]
> > 
> > "It is a capital mistake to theorize before one has
> > data."
> > --Sir Arthur Conan Doyle
> > 
> > 
> > 
> > On Jun 12, 2005, at 5:41 PM, Kevin Toppenberg wrote:
> > 
> > > Hey all,
> > >
> > > I need help with a screenman form.  I have
> > followed
> > > the tutorials for creating a screenman form.  And
> > by
> > > the way, there is a new (as of 03/05) html-based
> > front
> > > end to the lotus screencam tutorials.  They are
> > quite
> > > good.
> > >
> > > My problem is that I insert a DATA DICTIONARY
> > field
> > > for file 8925 (TIU DOCUMENT), field .02 PATIENT. 
> > And
> > > when use the form to edit a document, sometimes
> > the
> > > field displays the patient's name (good), and
> > > sometimes it displays just the record number/IEN
> > (not
> > > good).
> > >
> > > And when I have a field for the author (which is a
> > > pointer to file 200, it displays the author's
> > name.
> > > But when I have a field for the transcriptionist
> > > (ENTERED BY field), which is also a pointer to
> > file
> > > 200, it just displays their initials.
> > >
> > > So how do I adjust the format of a field's value?
> > >
> > > Thanks
> > > Kevin
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Discover Yahoo!
> > > Have fun online with music videos, cool games, IM
> > and more. Check  
> > > it out!
> > > http://discover.yahoo.com/online.html
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email is sponsored by: NEC IT Guy
> > Games.  How far can  
> > > you shotput
> > > a projector? How fast can you ride your desk chair
> > down the office  
> > > luge track?
> > > If you want to score the big prize, get to know
> > the little guy.
> > > Play to win an NEC 61" plasma display:
> > http://www.necitguy.com/?r=20
> > > _______________________________________________
> > > Hardhats-members mailing list
> > > Hardhats-members@lists.sourceforge.net
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > >
> > 
> > 
> > 
> >
> -------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy Games.
> >  How far can you shotput
> > a projector? How fast can you ride your desk chair
> > down the office luge track?
> > If you want to score the big prize, get to know the
> > little guy.  
> > Play to win an NEC 61" plasma display:
> > http://www.necitguy.com/?r=20
> > _______________________________________________
> > Hardhats-members mailing list
> > Hardhats-members@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> > 
> 
> 
> 
>               
> __________________________________ 
> Discover Yahoo! 
> Stay in touch with email, IM, photo sharing and more. Check it out! 
> http://discover.yahoo.com/stayintouch.html
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to