UltraLite applications must connect to a database before carrying out operations on the data in it.
Here is the simplest way to establish a connection. Extensions to this technique are given in the following sections.
var DatabaseMgr; var Connection; DatabaseMgr = CreateObject("iAnywhere.UltraLite.DatabaseManager.CustDB"); Connection = DatabaseMgr.openConnection("dbf=" + DatabaseMgr.directory + "\\mydb.udb"); |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |