|
This example shows the use of the
ViewNavigationPosition property.
|
1 |
Chai
|
18
|
0
|
|
2 |
Chang
|
19
|
40
|
|
3 |
Aniseed Syrup
|
10
|
70
|
|
4 |
Chef Anton's Cajun Seasoning
|
22
|
0
|
|
5 |
Chef Anton's Gumbo Mix
|
21.35
|
0
|
|
|
|
This is the code implementing the example:
<!--#include file="VBSdb/inc.asp"-->
<%
VbsDbNew objVbsDb
objVbsDb( "MdbPath" ) = "data/nwind.mdb"
objVbsDb( "Sql" ) = "select ProductName,UnitPrice,UnitsOnOrder from Products"
objVbsDb( "ViewNavigationPosition" ) = "both"
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.
|