Availability
$WBP is available for use with following
recordset related WBSP commands:
QUERY
Send Personal Mail (if recordset is
used)
Send Bulk Mail.
Syntax
$WBP[propertyname]
Parameters
propertyname - two letter name of the required property
of current recordset.
Valid values for propertyname are:
RC -
record count
RN - record number
AP - absolute
position
PP - percent position
Returns
The recordset
property specified in propertyname.
RC - record count returns
total number of records in a recordset
RN - record number returns
actual record number for every record in a recordset (starting with
1)
AP - absolute position returns the position for every record in a
recordset (starting with 0)
PP - percent position returns the percent
position for every record in a recordset. This
propertyname value is not supported if ADO object is
used!
Example
After running this example, the resulting page in browser, may look like this:
Title | Record number | Absolute position | Percent position |
McGraw-Hill's Encyclopedia of Networking & Telecommunications | 1 | 0 | 0 |
Microsoft SMS Installer | 2 | 1 | 3,571429 |
Windows 2000 Iis 5.0 : A Beginner's Guide | 3 | 2 | 7,142857 |
Windows Nt Security Handbook | 4 | 3 | 10,71429 |
Microsoft Internet Information Server 4: the Complete Reference | 5 | 4 | 14,28571 |
Non-Designer's Scan and Print Book, The | 6 | 5 | 17,85714 |
Real World Adobe InDesign 1.5 | 7 | 6 | 21,42857 |
HTML 4 for the World Wide Web: Visual Quickstart Guide | 8 | 7 | 25 |
Real World Freehand 7 | 9 | 8 | 28,57143 |
Netscape 3 for Macintosh Visual Quickstart Guide | 10 | 9 | 32,14286 |
Kai's Power Tools 3 for Windows Visual Quickstart Guide | 11 | 10 | 35,71429 |
InDesign 1.0/1.5 for Macintosh and Windows: Visual QuickStart Guide | 12 | 11 | 39,28571 |
Fireworks 4 for Windows and Macintosh Visual Quickstart Guide | 13 | 12 | 42,85714 |
Macromedia FreeHand 10 for Windows and Macintosh: Visual QuickStart Guide | 14 | 13 | 46,42857 |
Real World FreeHand 5.0/5.5 | 15 | 14 | 50 |
Sams Teach Yourself Macromedia Dreamweaver 3 in 24 Hours | 16 | 15 | 53,57143 |
Sams Teach Yourself Macromedia Dreamweaver 4 in 24 Hours | 17 | 16 | 57,14286 |
Photoshop 6 Photo-Retouching Secrets | 18 | 17 | 60,71429 |
www.color | 19 | 18 | 64,28571 |
Www.Layout : Effective Design and Layout for the World Wide Web | 20 | 19 | 67,85714 |