...

View Full Version : Need help with recordset dispaying



martha
12-11-2004, 09:43 AM
I have the following dynamic text:
{rs_air_description.day_one}
{rs_air_description.day_one_desc}

{rs_air_description.day_two}
{rs_air_description.day_two_desc}

{rs_air_description.day_three}
{rs_air_description.day_three_desc}

{rs_air_description.day_four}
{rs_air_description.day_four_desc}

How am I going to remove the blank gap that is created when the recordset for one or more of the above is empty? I tried Show If recordset is not Empty but it didn't help. You see, the days reach up to 15 and when it comes for a 4 days description, my gap is going huge!
Thanks in advance

ghell
12-11-2004, 05:50 PM
i dont really know what you are asking.. you have a different recordset for every day or something? if so i dont think its needed but i dont REALLY know what you are on about

if you can be a bit more specfic someone may give an answer sooner

martha
12-11-2004, 06:14 PM
No, I am building a travel site and that page shows each tour's programme from day one to day whatsoever.
First day that, second day that, etc.
However, when I have a 15day long day it is ok. But when it comes for a shorter tour (less days) all that empty fields dispay a blank gap. Please take a look at this page http://www.signature.gr/ek_tours.asp?id=90
At the bottom of the yellow text, it is day 6. This tour has only six days, it displays six days and it stays right there, and there is no gap between itself and the text that comes after.

ghell
12-12-2004, 11:49 AM
ermmm i spose you could just have each day include the <br>s so althoguh its displaying the last ones, they just appear as "" instead of "<br> <br> <br>"

if they were all in one table (eg 1 table with a unique id, and details of 15 days in their own separate fields) then you could just get that tour id and write each of the days untill rsTour("day" & i) = ""

Bullschmidt
12-31-2004, 01:10 AM
And/or perhaps something like this.

If IsNull(rs_air_description.day_one) Or (rs_air_description.day_one = "") Then
{rs_air_description.day_one}
{rs_air_description.day_one_desc}
End If



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum