Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with creating table code......
Message
From
13/07/2000 09:33:20
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Problem with creating table code......
Miscellaneous
Thread ID:
00391746
Message ID:
00391746
Views:
36
I found this code for creating a table at codehound. (actually vb world in a series of articles by John Percival)


Dim mydb As Database
Set mydb = createdatabase("C:mydb.mdn", dblandgeneral)
mysqlstring = "Create table thistable (firstname text,lastname text);"
mydb.execute mysqlstring
mydb.Close

The code give a..... user defined type not defined... error on the dim mydb as database line. Any suggestions?
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Next
Reply
Map
View

Click here to load this message in the networking platform