Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-05 Thread [EMAIL PROTECTED]

Chris, thanks for your response(s). I am writing a routine that does automated testing. In using it, the user needs to be able to enter some variable name which will be set equal to some initial value he sets. Sometimes that variable name is a global root (and normally he'd choose a temp global for the test like ^TMP($J, or ^UTILITY($J, ). So two of the input fields are GLOBAL NAME (where he inputs the root), and INPUT VALUE (which somehow indicates the value(s) to be loaded into that global for the test).
Similarly, I have two more fields for RESULT VARIABLE, and RESULT VALUE, so that the user can check whether the results are as expected after whatever he's testing runs. Again, RESULT VARIABLE may be a global root.
Anyhow, I'm not letting the user change the global by hand as you thought, I just want to let him input the darned name. I have the field defined as a node all by itself, E1-250 instead of a piece number so that the ^ won't cause errors, and it still won't let me include a ^ in the input.
Thanks,
Michael Reach

Try Juno Platinum for Free! Then, only $9.95/month!
Unlimited Internet Access with 1GB of Email Storage.
Visit http://www.juno.com/value to sign up today!

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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-05 Thread Greg Woodhouse
Using extract mode (as you describe) is probably the simplest solution.
Another option is to use $$HTML^DILF to encode special characters as
hex. The trick here is that you need to unencode the data in the output
transform and be sure to use $$GET1^DIQ instead of global reads to gedt
the data. If you want to be able to read input containing an up-arrow,
you can specify the U flag in ^DIR. (By the way, this is one time
when RECALL^DILFD can be quite useful).

===
Gregory Woodhouse  [EMAIL PROTECTED]

Judge a man by his questions not his answers.
--Voltaire

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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-05 Thread Kevin Toppenberg
Can you do a read your self and then process the answer, handling the
^ as you wish?

new input
read Please enter variable: ,input:$get(DTIME,3600),!
...

Kevin


On 7/5/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 Chris, thanks for your response(s). I am writing a routine that does
 automated testing. In using it, the user needs to be able to enter some
 variable name which will be set equal to some initial value he sets.
 Sometimes that variable name is a global root (and normally he'd choose a
 temp global for the test like ^TMP($J, or ^UTILITY($J, ). So two of the
 input fields are GLOBAL NAME (where he inputs the root), and INPUT VALUE
 (which somehow indicates the value(s) to be loaded into that global for the
 test).

 Similarly, I have two more fields for RESULT VARIABLE, and RESULT VALUE, so
 that the user can check whether the results are as expected after whatever
 he's testing runs. Again, RESULT VARIABLE may be a global root.

 Anyhow, I'm not letting the user change the global by hand as you thought, I
 just want to let him input the darned name. I have the field defined as a
 node all by itself, E1-250 instead of a piece number so that the ^ won't
 cause errors, and it still won't let me include a ^ in the input.

 Thanks,

 Michael Reach


 
  Try Juno Platinum for Free! Then, only $9.95/month!
  Unlimited Internet Access with 1GB of Email Storage.
  Visit http://www.juno.com/value to sign up today!

 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=lnkkid=120709bid=263057dat=121642


 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-05 Thread Dan
The docs say that data stored in the location can contain ^ but I'm not 
sure if FileMan will check if the field being entered is an extract storage 
type before it kicks out the ^ user input.   After some experimenting it 
appears that if the data starts with ^ the input is ignored otherwise it 
is accepted.

Of course, if you're using a custom input routine you can get the data in 
there as internal format., you'll just have to have a special read for 
their input so it doesn't go through FileMan.

If you cant get your users to not enter the ^, you could always store it in 
a word processing field.


At 04:42 PM 7/5/2006, Greg wrote:
Using extract mode (as you describe) is probably the simplest solution.
Another option is to use $$HTML^DILF to encode special characters as
hex. The trick here is that you need to unencode the data in the output
transform and be sure to use $$GET1^DIQ instead of global reads to gedt
the data. If you want to be able to read input containing an up-arrow,
you can specify the U flag in ^DIR. (By the way, this is one time
when RECALL^DILFD can be quite useful).


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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-05 Thread Kevin Toppenberg
Are you saying that you have tried, for example, putting a ^ in the
middle of a text entry for a field, and it is accepted??  This would
introduce terrible field-shifting errors that Chris mentioned!  I've
not tried this myself, but if you have done it, I'd like to see a
screen log of the interaction.

Kevin


On 7/5/06, Dan [EMAIL PROTECTED] wrote:
 The docs say that data stored in the location can contain ^ but I'm not
 sure if FileMan will check if the field being entered is an extract storage
 type before it kicks out the ^ user input.   After some experimenting it
 appears that if the data starts with ^ the input is ignored otherwise it
 is accepted.


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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-05 Thread Kevin Toppenberg
Fileman is like a fine woman The secrets just keep slipping out.. :-)
I keep looking for the day when I will stop being surprised by it.

Kevin


On 7/5/06, Dan [EMAIL PROTECTED] wrote:
 That's one purpose of extract storage:

 Select ZZTEST NAME: A
Are you adding 'A' as a new ZZTEST (the 1ST)? No// Y  (Yes)
 TEST: ^123??
 TEST: 123^23


 Select OPTION: INQUIRE TO FILE ENTRIES
 OUTPUT FROM WHAT FILE: ZZTEST//
 Select ZZTEST NAME:A
 ANOTHER ONE:
 STANDARD CAPTIONED OUTPUT? Yes//   (Yes)

 NAME: A TEST: 123^23



 At 05:24 PM 7/5/2006, Kevin wrote:
 Are you saying that you have tried, for example, putting a ^ in the
 middle of a text entry for a field, and it is accepted??  This would
 introduce terrible field-shifting errors that Chris mentioned!  I've
 not tried this myself, but if you have done it, I'd like to see a
 screen log of the interaction.
 
 Kevin
 
 
 On 7/5/06, Dan [EMAIL PROTECTED] wrote:
   The docs say that data stored in the location can contain ^ but I'm not
   sure if FileMan will check if the field being entered is an extract 
   storage
   type before it kicks out the ^ user input.   After some experimenting it
   appears that if the data starts with ^ the input is ignored otherwise it
   is accepted.
  
 
 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=lnkkid=120709bid=263057dat=121642
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 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=lnkkid=120709bid=263057dat=121642
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Edit mode with up-arrow input

2006-07-04 Thread [EMAIL PROTECTED]
Hi! When I am in Edit mode, inputting data to a Fileman file, if the input begins with an up-arrow ^ , the routine assumes I am trying to jump. So it looks something like this:
GLOBAL NAME: ^TMP($J??
GLOBAL NAME: etc.
Is there some way to enter an input beginning with an up-arrow?
Thanks,
Michael Reach

Try Juno Platinum for Free! Then, only $9.95/month!
Unlimited Internet Access with 1GB of Email Storage.
Visit http://www.juno.com/value to sign up today!

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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-04 Thread Chris Richardson



Michael;

 This interface is not for editing the 
globals which hold the data directly. Fileman is for using the systemic 
name for the file (as reflected in the File of Files, ^DIC(,0). Each 
defined file has a name and a number sucha as; 
 PATIENT 
file # 
2 These resolve to globals ^DPT(
 OPTION 
file 
#19 
^DIC(19,
 NEW PERSON file 
#200 
^VA(200,

 Routines can be written to mass-load these 
files, but if you use the Kernel tools, there are cross-references and related 
operations which the Kernel tools will apply for you as this data is 
imported. There are tools for the accession of this type of data into 
VistA (such as the Excel interface), but some setup is required to make this 
happen. The information that is needed is the location (ie, the fields in 
what files)that the input data is representing. I hope this 
helps.

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: hardhats-members@lists.sourceforge.net 
  
  Sent: Tuesday, July 04, 2006 11:59 
  AM
  Subject: [Hardhats-members] Edit mode 
  with up-arrow input
  
  Hi! When I am in Edit mode, inputting data to a Fileman file, if the input 
  begins with an up-arrow ^ , the routine assumes I am trying to jump. So it 
  looks something like this:
  GLOBAL NAME: ^TMP($J??
  GLOBAL NAME: etc.
  Is there some way to enter an input beginning with an up-arrow?
  Thanks,
  Michael ReachTry 
  Juno Platinum for Free! Then, only $9.95/month!Unlimited Internet Access 
  with 1GB of Email Storage.Visit http://www.juno.com/value to sign up 
  today!
  
  

  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 easierDownload IBM WebSphere Application Server v.1.0.1 based on 
  Apache 
  Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
  

  ___Hardhats-members 
  mailing 
  listHardhats-members@lists.sourceforge.nethttps://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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Edit mode with up-arrow input

2006-07-04 Thread Chris Richardson



Michael;

 Sorry, I misunderstood your initial 
question. GLOBAL NAME is usually just the name of the global without the 
circumflex, "^". As you know, circumflex is a separator in VistA. An 
extra circumflex can shift everything over a field (which as you might imagine, 
can cause havoc in the file structures.

Now it seems as though you wish to put input into 
^TMP($J, ?? ^TMP is likely to be deleted at any time. And depending upon 
the current $JOB number is likely to be a problem. Next time you come 
back, you will likely have a different $JOB value. Now with such a 
volitile situation, it is unlikely that Fileman doesn't know about this global 
or its field definitions. This is an interesting idea, but likely will 
result in data which will not be easy to find again (if it is still 
there). There are better ways of doing this.

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: hardhats-members@lists.sourceforge.net 
  
  Sent: Tuesday, July 04, 2006 11:59 
  AM
  Subject: [Hardhats-members] Edit mode 
  with up-arrow input
  
  Hi! When I am in Edit mode, inputting data to a Fileman file, if the input 
  begins with an up-arrow ^ , the routine assumes I am trying to jump. So it 
  looks something like this:
  GLOBAL NAME: ^TMP($J??
  GLOBAL NAME: etc.
  Is there some way to enter an input beginning with an up-arrow?
  Thanks,
  Michael Reach
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=lnkkid=120709bid=263057dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members