I finally figured out the answer for this:
The value of the last file entered is stored in ^DISV(DUZ,"^DIC(")
To ask the user for the name of a file to output from, and provide a
default value, I see Fileman calling ^DICRW. I don't think this is a
standard entry point, however. The result comes back in Y
^DISV doesn't seem to be a standard Fileman file. But it seems to
store all sorts of things on a per-user basis. It's like someone is
tracking me! (LOL)
Kevin
On 6/8/06, Greg Woodhouse <[EMAIL PROTECTED]> wrote:
>
>
> --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
>
> > In the roll-n-scroll mode of VistA, Fileman has a way of remembering
> > the user's last input and providing this as the default option.
> >
> > How do I do this?
> > I am having the user pick a file, using a classic Fileman lookup:
> >
> > new DIC
> > set DIC=1
> > set DIC(0)="AEQM"
> > do ^DIC
> > write Y
> >
> > How would I have it default to the last choice?
> >
> > Thanks
> > Kevin
> >
>
> I've done this using a Kernel parameter.
>
> ===
> Gregory Woodhouse <[EMAIL PROTECTED]>
>
> Metaphors be with you.
>
>
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members