Forums
This topic is locked
Formatting tables that include dynamic content
Posted 07 Dec 2002 21:09:25
1
has voted
07 Dec 2002 21:09:25 Roger Smithe posted:
I've searched and cannot find the answer to this which I'm sure is a simple switch hidden somewhere in DWMX.I'm trying to format a table which contains data from fields e.g. {tblFlightCrew.ACType2FlightHrs}
The field name above is much longer than the 4 digits that the field actually contains.
The length of the field name prevents the table from being formatted correctly.
In FrontPage I would use dummy data of max field length to layout the table and then substitue the field names. Lot of work but it gets the job done.
I just know that there's gotta be a better way in MX.
Any help would be appreciated!
Replies
Replied 07 Dec 2002 22:40:08
07 Dec 2002 22:40:08 Dennis van Galen replied:
Dreamweaver MX, like UltraDev4, happily let's you develop with live mode switched on, this way you get to see what the page looks like with real values from your recordsets. You find live data to the left of the page title field in Dreamweaver MX and UltraDev. You can specify settings after you turn it on or in the view menu -> live data settings menu option.
Developing like this is the same as when you leave it off, just drag in your data from the Bindings panel only instead of {tblFlightCrew.ACType2FlightHrs} you will see 1234 if that happens to be the data in that field, live data is extremely usefull for finetuning your pages with repeated tables. It gets really fun if you use live data to display nested recordsets which show in their own tables. In normal mode you see the 1 table, but turn live data on and it shows you all tables, i use that myself regularly, it's a great feature.
If you get errors when you turn it on then please examine this page:
www.macromedia.com/support/dreamweaver/live_data_mode.html
hope that helps you on your way.
with regards,
Dennis van Galen
DMXzone Manager
Extension, Tutorial and FAQ's Manager
Developing like this is the same as when you leave it off, just drag in your data from the Bindings panel only instead of {tblFlightCrew.ACType2FlightHrs} you will see 1234 if that happens to be the data in that field, live data is extremely usefull for finetuning your pages with repeated tables. It gets really fun if you use live data to display nested recordsets which show in their own tables. In normal mode you see the 1 table, but turn live data on and it shows you all tables, i use that myself regularly, it's a great feature.
If you get errors when you turn it on then please examine this page:
www.macromedia.com/support/dreamweaver/live_data_mode.html
hope that helps you on your way.
with regards,
Dennis van Galen
DMXzone Manager
Extension, Tutorial and FAQ's Manager
Replied 07 Dec 2002 23:02:28
07 Dec 2002 23:02:28 Owen Eastwick replied:
Go to Edit >> Preferences >> Invisible Elements, Now change <b>Show Dynamic Text As:</b> to {}
Evereywhere there is dynamic text on the page you will just see {} instead of stuff like: {tblFlightCrew.ACType2FlightHrs}
You can't see what the dynamic text is, but if you're like me you have the page split, showing code and design views it's not a problem and it's quicker than working in Live View.
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Evereywhere there is dynamic text on the page you will just see {} instead of stuff like: {tblFlightCrew.ACType2FlightHrs}
You can't see what the dynamic text is, but if you're like me you have the page split, showing code and design views it's not a problem and it's quicker than working in Live View.
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 08 Dec 2002 04:37:38
08 Dec 2002 04:37:38 Roger Smithe replied:
<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> Thank you for your replys...I knew I was in the best forum. Couple a books and a coupla years and the people on this forum and I'll be all set.
Thanks again
Thanks again