Jump to content

Recommended Posts

Posted

Hi all,

 

                    I have one doubt,

                  i want to print party address with partname,add1,add2,add3,add4 in the form of address.

 

Example:

partyid

add1

add2

add3

add4

if add2 is null then add3 comes in add2 line and add4 comes to add3 line?

 

it's possible?

 

kindly give your suggestion.

 

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 1 month later...
Posted

You can judge if a row is null to decide whether to hide it or not through a report script. But this means the length of each record won’t be the same any more.

If you want to modify field values during data preparation to meet the condition that “if add2 is null then add3 comes in add2 line and add4 comes to add3 line”, I suggest you using esProc, in which you can handle it with two lines of code:

A1=$select partyid,add1,add2,add3,add4 from tb

A2=A1.(~.record(~.array().select(~)|["","","",""]))

Find more examples from http://blog.raqsoft.com/?p=4744 .

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...