08-17-2007 5:46 AM
Hi Guys,
I have struck with one problem. There are 10 fields at output report. Assume A to J, whenever run the report at out put 10 field are displayed but we have a facility to enter value manually in one field at report output (Field I)( Write:/ var input). so the J field is also empty, My problem is I entered the I field value manually and i want to Multiply the 'I' (Manually Entered) field value with displayed report value Field F and the result value should display in FIeld J after hit the ENTER. Please help me
Sudheer
08-17-2007 5:51 AM
Use the pf-status for the list and create one pushbutton on appication tool bar. Assign the user-command as function code.
Using user-command write the appropriate code inside the program. And the changes you want to made will be effected only whenver after pressing that Pushbutton only.
Just try it out.
byeeeeeeeee
08-17-2007 5:51 AM
Use the pf-status for the list and create one pushbutton on appication tool bar. Assign the user-command as function code.
Using user-command write the appropriate code inside the program. And the changes you want to made will be effected only whenver after pressing that Pushbutton only.
Just try it out.
byeeeeeeeee
08-17-2007 5:56 AM
use pf status........
but u can not trigger event by hitting enter button. I think u have to create one button for that.
08-17-2007 5:57 AM
Hi Guys,
Can you please give me the code if possible.........
I will try for that..........
Sudheer
08-17-2007 6:09 AM
hi,
try like this.
parameters: i type i,
j type i.
write:/10 'i is' i,
'j is' j,
.....................
....................
.....................
....................
j = i * f.
set pf-status 'p1'. ---> double click on p1
at user-command .
write?10 'j value ' j.
when u double click on p1 u ll goto screen painter there create a button and make it as user defined while assigning properties to it.
if helpful reward some points.
with regards,
Suresh Aluri.