Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

details/output page 1

Status
Not open for further replies.

RTDesi

MIS
Apr 17, 2001
24
US
When making an output/details page in order to display items that are currently in a database, how can you get a repeated region displaying each RECORD as opposed to each FIELD (column-wise). For example, if i choose a repeated region of name, it shows ALL the names...I want to show each Record (name, date, file, etc) and then loop and go to the next file which will have another name,date,file, etc.

Any info on this is greatly appreciated. Thanks in advance.
 
Is your database dynamic (can the number and order of columns change)? Otherwise just put the repeated region behaviour around a table section containing all the columns once.

This is achieved as follows:

[ul][li]create your table[/li]
[li]drag'n'drop all fields from the db you want into the corresponding table cells[/li]
[li]add the behaviour after having added all the values[/li][/ul]
Be sure you start before and after the <tr>-tags, not the <table>-tags, otherwise a new table is created every time...

Hope this helps a little...
 
Also when doing this, it makes it much easier to read if you alternate table background colours. I use Silver/White. (#CCCCCC/#FFFFFF)

takes a couple of experiments to get it right, but once you have the knack, easy. Steve Davis
hey.you@hahaha.com.au
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top