Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't select Remote View
Message
De
09/01/2006 11:31:11
 
 
À
09/01/2006 10:53:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01084696
Message ID:
01084754
Vues:
13
>this message eppears 'Alias not found

You get "Alias not found" because the cursor has not been created, because there was an ODBC error returned from MySQL.
You have not answered Yuri's question on what does AERROR() return. This function will populate an array with the ODBC error.

You could also try to using SQL Pas-Trhough (SPT) one you establish the connection and see what you get in return ( or what error with AERROR() ). Run your query wiith SQLEXEC().

Another - unrelated - problem I see in your example is that you are using the root account with no password. That is a major security hole. You should never use the root account on a database server (or any server) for routine work. Root (admin) is only for administrative maintenance. Furthermore you should never have an unprotected root account. Always issue a password if you value your data.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform