This example shows the use of the GlobalTableBGColor property.
  ProductName QuantityPerUnit UnitPrice UnitsInStock UnitsOnOrder
1 Chai 10 boxes x 20 bags 18 39 0
2 Chang 24 - 12 oz bottles 19 17 40
3 Aniseed Syrup 12 - 550 ml bottles 10 13 70
4 Chef Anton's Cajun Seasoning 48 - 6 oz jars 22 53 0
5 Chef Anton's Gumbo Mix 36 boxes 21.35 0 0
ProductName Chai
QuantityPerUnit 10 boxes x 20 bags
UnitPrice 18
UnitsInStock 39
UnitsOnOrder 0
 First   Prev   Next   Last   Search 
This is the code implementing the example:
<!--#include file="VBSdb/inc.asp"-->
<%
   VbsDbNew objVbsDb
   objVbsDb( "MdbPath" ) = "data/nwind.mdb"
   objVbsDb( "Sql" ) = "select ProductId,ProductName,QuantityPerUnit,UnitPrice,UnitsInStock,UnitsOnOrder from Products"
   objVbsDb( "GlobalTableBGColor" ) = "yellow"
   VbsDb objVbsDb
%>
This demonstrative program connects to Nwind.mdb, the well known Microsoft Access sample database: the names of companies, products, people, characters, and/or data mentioned herein are fictious and are in no way intended to represent any real individual, company, product, or event. To download a copy of Nwind.mdb, please visit Microsoft's site.