Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting MDB to DBF
Message
 
À
22/06/2005 09:57:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01025422
Message ID:
01025447
Vues:
18
From that message I realise that there is no "lcmdb" table or query in this MDB. Are you shure that a table with this name exists in this MDB?
Try this after you crate a connection to MDB
lcmdb=("c:\HJSDB.mdb")
Store SQLSTRINGCONNECT(;
	'DBQ='+lcmdb+';'+;
	'Driver={Microsoft Access Driver (*.mdb)}');
	TO gnConnHandle

If gnConnHandle <= 0
   = MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
   Return
Endif
IF SQLTABLES(gnConnHandle,"TABLE","myCursor") == 1
   SELECT myCursor
   BROWSE NORMAL
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform