Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with creating table code......
Message
De
13/07/2000 09:33:20
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Problem with creating table code......
Divers
Thread ID:
00391746
Message ID:
00391746
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform