We are trying to use this function to work so that when the ENTER (or PF1) key is pressed an appropriate Help routine is invoked. We’ve tried it in a DECIDE statement as well as an IF statement. Not all of the fields are I/O.
Can anyone provide sample code that works?
Thanks,
Richard
Not sure exactly what you want to do. Here is some code that works:
input 3/10 ‘enter #a here==>’ #a (he=‘help01’)
8/10 ‘enter #b here==>’ #b (he=‘help02’)
*
if *curs-field = pos (#a)
reinput using help mark field *#a
end-if
if *curs-field = pos (#b)
reinput using help mark field *#b
end-if
Thanks Steve!
It appears that the use of a Control Variable at the statement (map) level negates the functionality of the *CUR-FIELD. Is there a way to get around this?
Richard