|
This example shows the use of the
InputPasswordFields property.
If you type in a LastName value, you will see that the input value is masked.
Add a new record
This is the code implementing the example:
<!--#include file="VBSdb/inc.asp"-->
<%
VbsDbNew objVbsDb
objVbsDb( "MdbPath" ) = "data/nwind.mdb"
objVbsDb( "Sql" ) = "select EmployeeId,FirstName,LastName from Employees"
objVbsDb( "ViewMode" ) = "Grid"
objVbsDb( "GridHideFields" ) = "LastName"
objVbsDb( "GlobalStartScreen" ) = "Add"
objVbsDb( "EditTableName" ) = "Employees"
objVbsDb( "EditFields" ) = "FirstName;LastName"
objVbsDb( "EditValidateRequiredFields" ) = "FirstName|FirstName required;LastName|LastName required"
objVbsDb( "InputPasswordFields" ) = "LastName"
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.
|