Storage Mode > Using the XArrayDB Object > Creating an XArrayDB Object |
XArrayDB has no design-time interface or persistent properties. All XArrayDB operations are performed in code at run time.
To create an XArrayDB object at the start of an application, add the following line to the general declarations section of a form:
Example Title |
Copy Code
|
---|---|
Dim MyArray As New XArrayDB |
To declare an XArrayDB object variable without creating it, omit the New keyword. Use the Set statement to create the XArrayDB object in code:
Example Title |
Copy Code
|
---|---|
Dim MyArray As XArrayDB Set MyArray = New XArrayDB |