pralash
24th November 2017, 15:17
Hi,
I'm new for LN Programming... I have created a before.field layout as shown in the attachment(1.png)... And my programming script is as follows...
select distinct tctls903.user
from tctls903
where tctls903._index1
inrange {:logg.first} and {:logg.t.change}
selectdo
message(tctls903.user)
|Here I got the user name but it's not sending to the report
rprt_send()
endselect
My before.field layout is attached as shown(3.png)....
My report script is as follows...
before.check.1:
before.layout:
if tot.log.detail = tcyesno.yes then
lattr.print = true
else
lattr.print = false
endif
While execute the script, I can displayed the distinct users with in the given range, but I got the last user name in the report instead of getting all user names... So how can I get the all user names in the report....
Please let me know that how to fix this issue...
Thanks in advance,
Regards,
Pralash
I'm new for LN Programming... I have created a before.field layout as shown in the attachment(1.png)... And my programming script is as follows...
select distinct tctls903.user
from tctls903
where tctls903._index1
inrange {:logg.first} and {:logg.t.change}
selectdo
message(tctls903.user)
|Here I got the user name but it's not sending to the report
rprt_send()
endselect
My before.field layout is attached as shown(3.png)....
My report script is as follows...
before.check.1:
before.layout:
if tot.log.detail = tcyesno.yes then
lattr.print = true
else
lattr.print = false
endif
While execute the script, I can displayed the distinct users with in the given range, but I got the last user name in the report instead of getting all user names... So how can I get the all user names in the report....
Please let me know that how to fix this issue...
Thanks in advance,
Regards,
Pralash