Jump to content

This topic is 8423 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi!

I'v got a problem with the "rowspan" HTML-tag, when showing the searchresult from a Find operation.

The page generated is a schedule over the week, containing reservartions.

(Example here )

Every row with the hour on the left, is a found record, and the reservations for each day is portals to a record containing the specific objekt, time and client etc.

I want to expand each reservation to cover the hours in the specific reservation - the reservations are supposed to cover the time in the schedule!

Is that possible?

How can I use the Rowspan-tag to span over the next found record, without getting the wrong HTML-code when the pages are generated?

Or is there another way to solve this problem?

/M

[ February 06, 2002, 07:05 AM: Message edited by: Spacemanspiff ]

Posted

How about creating a calculation field that calculates the length of the reservation in hours, and insert that into your ROWSPAN tag?

Posted

Sorry I didn't explain the problem good enough.

Here is the code that generates the schedule (a little bit modified, but this is the basic part):

code:


<TABLE>

[FMP-Record]

<TR bgcolor="#CCCCCC" align="left" valign="top">

<TD width="50">[FMP-Field: TimeOfDay].00</TD>

<TD width="100">

[FMP-Portal: ReservationsMon]

[FMP-Field: ReservationsMon::Time]

[/FMP-Portal]

</TD>

<TD width="100">

[FMP-Portal: ReservationsTue]

[FMP-Field: ReservationsTue::Time]

[/FMP-Portal]

</TD>

<TD width="100">

[FMP-Portal: ReservationsWen]

[FMP-Field: ReservationsWen::Time]&nbsp;

[/FMP-Portal]

</TD>

<TD width="100">

[FMP-Portal: ReservationsThu]

[FMP-Field: ReservationsThu::Time]&nbsp;

[/FMP-Portal]

</TD>

<TD width="100">

[FMP-Portal: ReservationsFri]

[FMP-Field: ReservationsFri::Time]

[/FMP-Portal]

</TD>

<TD width="100">

[FMP-Portal: ReservationsSat]

[FMP-Field: ReservationsSat::Time]

[/FMP-Portal]

</TD>

<TD width="100">

[FMP-Portal: ReservationsSun]

[FMP-Field: ReservationsSun::Time]

[/FMP-Portal]

</TD>

</TR>

[/FMP-Record]

</TABLE>

So. The problem is that I cant make the portals that contain values to "stretch" over to the next row since that row is generated by WebCompanion (note the FMP-Record tag!).

If this was an ordinary webpage, with static content, it wouldn't be a problem...

I don't see how I-m suppose to replace this with a calculation. frown.gif

This topic is 8423 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.