User command in @key processing

James Flanagan James at Flantec.com
Mon Aug 13 11:02:04 PDT 2018


Filepro 5.8.01.06D6
Redhat Exnterprise 6.8

/bin/test_script
echo 23

Input processing
::end:
::’:
@keyx::’:
::aa(2,.0):
::user xxx = /bin/test_script
::aa=xxx:
::msgbox aa:
::end:

The first iteration of this code, when hitting the “X” key works and the msgbox contains “23”.  Every subsequent time, however, the msgbox is blank.   

I found the following in the manual, but I am not quite certain that this is the issue.  
IMPORTANT: When reading from a user program, filePro Plus executes the program only once, not over and over. Therefore, make sure the user program itself loops until it reaches an end-of-file. 

Can input processing keep re-running a user command each time in @key processing, however many times the key is pressed for a given record.

Thank you very much, in advance.  


James Flanagan
Flantec.com <http://flantec.com/>

email:	James at Flantec.com <mailto:James at Flantec.com>
mobile:	760-458-8498
home: 	219-221-6219
text:		7604588498 at txt.att.net <mailto:7604588498 at txt.att.net>

Skype:	Flantec
ichat:	James at Flantec.com <mailto:James at Flantec.com>	

home:	1901 Cidermill Road
		Michigan City, IN 46360

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180813/98c7c5f6/attachment.html>


More information about the Filepro-list mailing list