$WBF - show field value

Availability
$WBF  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
$WBF[fieldname]

Parameters
fieldname - exactly the same field name as defined in recordset.

Returns

  1. The value stored in recordset field fieldname for current record.
  2. Nothing (empty string) if recordset does not exist or there is no current record, or if field value is NULL or empty string and WB_ShowEmpty is not set to True.
  3.   if field value is NULL or empty string and WB_ShowEmpty is set to True.

Example

<!--
[FormFields]
WB_basename=biblio.mdb
wb_rcdset=titles
wb_command=Q
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>Titles</title>
</head>
<body>
<table border="1" cellspacing="0">
<tr>
<td>Year published</td>
<td>Title</td>
<td>ISBN</td>
</tr>
<!--WB_BeginDetail-->
<tr>
<td>$wbf[Year published]</td>
<td>$wbf[title]</td>
<td>$wbf[ISBN]</td>
</tr>
<!--WB_EndDetail-->
</table>
<center>$wbnavigator</center>
</body>
</html> 

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

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