$WBDETAIL - show values of all fields

Availability
$WBDETAIL  is available for use with following recordset related WBSP commands:
UPDATE
MULTI UPDATE
DELETE
QUERY
Send Personal Mail (if recordset is used)
Send Bulk Mail.

Syntax
$WBDETAIL[layout]

Parameters
layout - single letter value defining the layout of generated detail section. Valid values are T for tabular layout and F for columnar layout

Returns
Complete detail section with all database fields contained in recordset, formatted using CSS classes as follows:
For tabular layout
wbspttbl - class for table (<table class="wbspttbl"...)
wbspthdr - class for cells in first (header) row (<td class="wbspthdr"...)
wbsptrow - class for cells in data rows (<td class="wbsptrow"...)
For columnar layout
wbspftbl - class for table (<table class="wbspftbl"...)
wbsptdlbl - class for cells in left (label) column (<td class="wbsptdlbl"...)
wbsptdfld - class for cells in right (data) column (<td class="wbsptdfld"...)
wbsptdhr - class for cell at the bottom of every record containing the horizontal line  (<td class="wbsptdhr"...)

Example

[FormFields]
WB_Command=q
WB_Basename=biblio.mdb
WB_Rcdset=titles
wb_showlogo=F
[MsgAndLbl]
WB_Style=font-family:verdana;font-size:12px;color:#CC0000;
<!--WB_BeginTemplate-->
<html>
<head>
<style>
.wbspttbl{
border:1px solid #000000;
font-family:verdana;
font-size:12px;
border-collapse:collapse;
border-spacing:0px;
}
.wbspthdr{
background-color:#CC0000;
border:1px solid #000000;
color:#C0C0C0;
}
.wbsptrow{
background-color:#FFCC00;
border:1px solid #000000;
color:#0000CC;
}
</style>
<title>Simple database example</title>
</head>
<body>
$wbdetail[t]
</body>
</html>

After running this example, the resulting page in browser, may look like this:

 
Title Year Published ISBN PubID AU_ID
McGraw-Hill's Encyclopedia of Networking & Telecommunications 2001 0072120053 10 10
Microsoft SMS Installer 2000 0072124474 10 9
Windows 2000 Iis 5.0 : A Beginner's Guide 2001 0072133724 9 9
Windows Nt Security Handbook 1996 0078822408 10 11
Microsoft Internet Information Server 4: the Complete Reference 1998 0078824575 10 10
Non-Designer's Scan and Print Book, The 1999 0201353946 1 2
Real World Adobe InDesign 1.5 2000 0201354780 1 1
HTML 4 for the World Wide Web: Visual Quickstart Guide 2000 0201354934 1 6
Real World Freehand 7 1997 0201688875 1 1
Netscape 3 for Macintosh Visual Quickstart Guide 1996 0201694085 1 6
Kai's Power Tools 3 for Windows Visual Quickstart Guide 1997 0201696681 1 2
InDesign 1.0/1.5 for Macintosh and Windows: Visual QuickStart Guide 2000 0201710366 1 2
Fireworks 4 for Windows and Macintosh Visual Quickstart Guide 2001 0201731339 1 2
Macromedia FreeHand 10 for Windows and Macintosh: Visual QuickStart Guide 2001 0201749653 1 2
Real World FreeHand 5.0/5.5 1996 0201883600 4 1
Sams Teach Yourself Macromedia Dreamweaver 3 in 24 Hours 2000 0672318830 12 13
Sams Teach Yourself Macromedia Dreamweaver 4 in 24 Hours 2000 0672320428 12 13
Photoshop 6 Photo-Retouching Secrets 2001 0735711461 3 3
www.color 2000 0823058573 8 7
Www.Layout : Effective Design and Layout for the World Wide Web 2001 0823058581 8 8
1 2
First page Next page Last page