|
This example shows the use of the
GlobalCustomText method. Note that
the title is customized and the standard 'Cancel' button has been transformed to 'Back'.
This is a custom Add Screen title
This is the code implementing the example:
<!--#include file="VBSdb/inc.asp"-->
<%
VbsDbNew objVbsDb
objVbsDb( "GlobalId" ) = "Orders"
objVbsDb( "MdbPath" ) = "data/nwind.mdb"
objVbsDb( "Sql" ) = "select * from Emplyees"
objVbsDb( "GridFields" ) = "LastName;FirstName"
objVbsDb( "EditTableName" ) = "Employees"
objVbsDb( "EditFields" ) = "LastName;FirstName;Birthdate"
objVbsDb( "GlobalStartScreen" ) = "Add"
objVbsDb( "GlobalCustomText" ) = "addScreenTitle|This is a custom Add Screen title;addCancelContent|Back"
VbsDb objVbsDb
VbsDbClose 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.
|