PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Copy info from HYPER FILE to MySQL
Copy info from HYPER FILE to MySQL
Débuté par Alexandre Aragão, 29 jan. 2004 20:10 - Aucune réponse
Posté le 29 janvier 2004 - 20:10
Hi, It´s my first message, I´m begginer.
I´m trying to pass a simple table, with one column to Mysql, but I cant. I don´t know what I´m doing wrong...mybe someone can Help me
mySQL4WD is CMySQL4WD()
n is string
si pas mySQL4WD:mySQLConnecte("localhost", "", "", "Ale") alors
Erreur("Error")
finprogramme()
fin

hinfogene("clientes")
hreadfirst("clientes","nome")

while not h.out
n = clientes.nome //hiper file
mySQL4WD:mySQLExec("insert into nome value("+mySQL4WD:mySQLQuoteString(n)+")",1)
hreadnext("clientes","nome")
mySQL4WD:mySQLFerme(1)
END
mySQL4WD:mySQLDeConnecte()
someone know what´s going on??
thanks to everyone