Just to complete the thought. If you want to look in "C" first, and
THEN pick up matches from "B", you can do that, too

 
>S DIC=5,DIC(0)="AQEMZ",D="C^B" D MIX^DIC1

Select STATE: ME
     1   ME  MAINE
     2   MEXICO  
CHOOSE 1-2: 

--- Jim Self <[EMAIL PROTECTED]> wrote:

> This enables lookup by abbreviation to have preference over lookup by
> name, but it is not
> a lookup by abbreviation only. It seems to me to be a desirable
> permanent change for this
> file.
> 
> One thing I recommend to anyone outside of the VA making permanent
> changes to VistA data
> definitions is to record your changes in some sort of log file with
> explanation external
> to Vista so that you can understand and recreate them at a later date
> on a new
> installation or upgrade.
> 
> Greg Woodhouse wrote:
> >I wouldn't redcommend modifying the DD unless you are sure you
> *always*
> >want Fileman to behave this way. If you want to an option to perform
> >lookup by abbreviation only, I'd make tthe necessary change in code
> >rather than in the DD.
> >
> >--- "Hay, James (DHS-CMS)" <[EMAIL PROTECTED]> wrote:
> >
> >> The node George references should prbably appear as George
> indicates.
> >> The manner in which you define the screening logic (node's
> argument)
> >> should probably be made through fileman option 4 (modify file
> >> attributes).
> >>
> >>  -----Original Message-----
> >> From:         [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED]  On Behalf
> Of
> >> Madhavi Bagepalli
> >> Sent: Friday, June 17, 2005 6:52 AM
> >> To:   hardhats-members@lists.sourceforge.net
> >> Subject:      RE: [Hardhats-members] look up not working for STATE
> file
> >>
> >> Hi George,
> >>
> >> I could not find the information in the link you suggested I look
> at.
> >> Could
> >> you advice me on where I should be looking?
> >>
> >> Thanks,
> >> Madhavi
> >> >From: "George Timson" <[EMAIL PROTECTED]>
> >> >Reply-To: hardhats-members@lists.sourceforge.net
> >> >To: "Hardhats" <hardhats-members@lists.sourceforge.net>
> >> >Subject: RE: [Hardhats-members] look up not working for STATE
> file
> >> >Date: Fri, 17 Jun 2005 05:59:05 -0700
> >> >
> >> >You want "MA" to look up "MASSACHUSETTS" only, or "CA" to look up
> >> only
> >> >"CALIFORNIA".
> >> >
> >> >Here is a way to make lookups on the STATE File do what you want:
> >> >
> >> >S ^DD(5,.01,7.5)="I X?2U,$O(^DIC(5,""C"",X,0)) S
> X=""`""_$O(^(0))"
> >> >
> >> >This is actually documented at:
> >> >http://www.hardhats.org/fileman/pm/gfs_frm.htm
> >> >
> >> >--George Timson
> >> >    Berkeley "CA"
> 
> ---------------------------------------
> Jim Self
> Systems Architect, Lead Developer
> VMTH Computer Services, UC Davis
> (http://www.vmth.ucdavis.edu/us/jaself)
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration
> Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 


"The most profound technologies are those that disappear."
--Mark Weiser

====
Greg Woodhouse 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to