[VCOM] variable error
Lee Miller
leemiller at madisongrp.com
Sun Jan 18 17:51:48 CST 2004
Ruslan
I plugged your code into your other code that creates a database and 2
tables. Here is the code.
Private Sub Form_Load()
On Error GoTo Error
'initialize Valentina database engine
V.Init 10
Dim Db As VDataBase
Set Db = CreateTestDb
If Not Db Is Nothing Then
WORKS FINE UP TO HERE - NOW, YOUR NEW CODE
Dim BaseObject As VBaseObject
Dim name As String
BaseObject = Db.BaseObject(1)
name = BaseObject.name
When it gets to "BaseObject = Db.BaseObject(1)'", here is the new error it
reports:
Object variable or With block variable not set
Any ideas?
Lee
More information about the Valentina
mailing list