2007 Aug 23 7:00 AM
Hi,
How to trigger AT Line-Selection and AT User-Command together in an interactive report
2007 Aug 23 7:02 AM
To play with at user-command, you have to define user command, start with the SET PF-STATUS.
Fred
2007 Aug 23 7:04 AM
Hi Basu
if u select any line in a basi reportit will trigger at line-selection event
if u select any button from menu or appl tool bar it will trigger at user-command
reward points to all helpful answers
kiran.M
2007 Aug 29 6:03 AM
Hi Sourav,
at line-selection event is triggered when we click on any line of the list. at user-command is triggered when pressing a function key. if we wnt to have some function key in secondary list display, at that time we can use at line-selection and at user-command.
Reward if useful
2007 Aug 29 7:24 AM
Hi
for at line selection you have to hide the field on which you wsh to use the command prior to writing the statement.then you can use it.
then you define 2 variables get field and get value
in get field you will get the field name user has clicked and in get value yo will get the value.
the use case or if else to check ur own condition.
for using pf status you have to attach a menu to the program and then write SET PF STATUS in ur code.
after that write a case on each button f code and write the appropreate code under that.
please reward points if useful
thanks
vivekanand
2007 Aug 29 12:50 PM
Hi
write the same code under the two events
what ever action done acording to that event code will execute
creat one form for that logic
and call that form under that two eveents
reward if usefull
2007 Aug 29 3:38 PM
2007 Sep 02 5:37 AM
Hi,
in your Set PF-STATUS statement double click the PF status name. Now there under Function Keys in Corresponding line of <b>F2</b> function you just write on left hand text box <b>PICK</b> and left the right text box as usual <Choose..>. Activate your PF Status.Back to your program and activate it. Test the program.