Have you thought about writing it as HTML and using <br /> as the
break?
 
 
** 

>>> Joe D'Souza <[EMAIL PROTECTED]> 10/2/2007 4:51 PM >>>
Mark,
 
Run Process perhaps treats the end of line as a carriage return and
terminates it there..
 
Instead of Run Process use a Set field operation and use the $PROCESS$
from the set field operation to call the bat file and set it to the
field in question
 
Joe D'Souza
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Mark Latta
Sent: Tuesday, October 02, 2007 6:22 PM
To: [email protected] 
Subject: Re: Write a Field Value to File


** 
Joe,
Maybe I over-simplified my test…
 
I have a “Run Process” Active Link action with the following string for
the Command Line: C:\temp\writeToFile.bat “$Character Field$”
 
writeToFile.bat:
ECHO %1 >> c:\temp\findme.txt
 
- mark
 
 
 


From:Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Joe D'Souza
Sent: Tuesday, October 02, 2007 4:16 PM
To: [email protected] 
Subject: Re: Write a Field Value to File

 

That's strange. I have had the output of ipconfig /all dumped to a
field with no problems..

 

Are you using the $PROCESS$ action of a set field to dump the value?

 

Joe D'Souza



-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Mark Latta
Sent: Tuesday, October 02, 2007 6:06 PM
To: [email protected] 
Subject: Re: Write a Field Value to File
** 
Joe,
I created the character field with 5 rows.  After further testing I
realized that it stopped writing to the file once it reached the first
space.  That tells me that it doesn’t treat the character field as a
single input parameter, but rather looks at spaces as a delimiter
between multiple input parameters.  I’m debating whether to create a
loop inside the batch file that reads all input parameters and
reconstructs the file.
 
- mark
 


From:Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Joe D'Souza
Sent: Tuesday, October 02, 2007 4:01 PM
To: [email protected] 
Subject: Re: Write a Field Value to File

 

Make the character field as a multi-line field.. that might work.

 

Joe D'Souza

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Mark Latta
Sent: Tuesday, October 02, 2007 5:54 PM
To: [email protected] 
Subject: Re: Write a Field Value to File


Norm,
Thanks for the suggestion.  I tried it, but I ran into a slight
problem.
Only one line in the character field was written to file.  Everything
past the first carriage return was lost.  Any suggestions to write it
all at once without parsing the character field at the carriage
returns
and appending to the file?

- mark

__20060125_______________________This posting was submitted with HTML
in it___ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to