alauddinctgbd Posted November 1, 2006 Share Posted November 1, 2006 Hi, How can I suppress a field when no data availablethat is when no data or null then the should not be displayed only but also the other row will one row upward.For axample the fields are: row1--- <<Contact Name>>row2--- <<Company Name>>row3--- <<Street Address>>,row4--- <<City Name>> <<Zip Code>>,row5--- <<State>>, <<Country Name>> When no data in Database for <<Company Name>> and <<State>> it should show like row1--- <<Contact Name>>row2--- <<Street Address>>,row3--- <<City Name>> <<Zip Code>>,row4--- <<Country Name>> My query returns null----> row1--- <<Contact Name>>row2--- nullrow3--- <<Street Address>>,row4--- <<City Name>> <<Zip Code>>,row5--- null, <<Country Name>> How can i solve this? Any help appriciated Alauddin Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 1, 2006 Share Posted November 1, 2006 Hi, Use the isBlankWhenNull="true" option for text fields and also isRemoveLineWhenBlank="true".But you have to make sure that there are no other elements on the sides (something like vertical lines) that would prevent the empty space from collapsing.This might require using frames to isolate collapsing elements. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now