yogesh kapil
5th May 2012, 07:18
hi,

I m working on lnfp7. I need to compare item in if loop. but unable to do this. i am writing somthing like this in my report script. Please help me.

detail.1:
before.layout:

if tdsls101.item =" 101" then
lattr.print = false

bdittmar
5th May 2012, 13:58
hi,

I m working on lnfp7. I need to compare item in if loop. but unable to do this. i am writing somthing like this in my report script. Please help me.

detail.1:
before.layout:

if tdsls101.item =" 101" then
lattr.print = false

Hello,
use the Tools and DEV Forum, please.
Maybe a moderator is able to move this thread to the proper forum.

In LN segmented items are used, so the following should do it :

if tdsls101.item(10;3) = "101" then

Character in item code at Posion 10 to 12 must be "101".


Regards

yogesh kapil
6th May 2012, 10:06
hi bdittmar,

thanks for your reply.

yogesh kapil
8th May 2012, 10:07
hi Bernd,

i did same and its working fine. Thanks so much for your valuable help.
i spend more then 2 days for this. i want to knw is there any funcation for text datatype so that text will print proper format. Now my quatation line text for 101 item is not in poper format.

item descripation
_____________________________________________
101 Provision of public Address

LEd based Head Code Based

Information Menu Suburban

I dont want space between line.