Hi,
I created an ODBC connection to a remote MySql database.
I modify my database container to include a new remote view.
This work perfectly, I can browse the data.
When I try to select a table with a name that contain space in it. It give me a Error.
Same error if I try to select fields with a space in it.
Everiting with space like :"DB sample data" do not work.?
see error message:
"The Remote View Wizard was unable to obtain column information for this remote table. This may the result of an ODBC error, or the remote table may not owned by the current user, or the table doesn't have columns"
When I take a working query then add another field with space in the name, it give me error, so I look to the SQL source :
DBSetProp(ThisView+".prix_de_la_recharge","Field","DataType","B(2)")
DBSetProp(ThisView+".prix_de_la_recharge","Field","UpdateName","sauvegardenov08."+CHR(34)+"Prix de la recharge"+CHR(34))
DBSetProp(ThisView+".prix_de_la_recharge","Field","KeyField",.F.)
DBSetProp(ThisView+".prix_de_la_recharge","Field","Updatable",.T.)
Is it a wizard error or ODBC error? How can I work around?
Thanks for your help
I created an ODBC connection to a remote MySql database.
I modify my database container to include a new remote view.
This work perfectly, I can browse the data.
When I try to select a table with a name that contain space in it. It give me a Error.
Same error if I try to select fields with a space in it.
Everiting with space like :"DB sample data" do not work.?
see error message:
"The Remote View Wizard was unable to obtain column information for this remote table. This may the result of an ODBC error, or the remote table may not owned by the current user, or the table doesn't have columns"
When I take a working query then add another field with space in the name, it give me error, so I look to the SQL source :
DBSetProp(ThisView+".prix_de_la_recharge","Field","DataType","B(2)")
DBSetProp(ThisView+".prix_de_la_recharge","Field","UpdateName","sauvegardenov08."+CHR(34)+"Prix de la recharge"+CHR(34))
DBSetProp(ThisView+".prix_de_la_recharge","Field","KeyField",.F.)
DBSetProp(ThisView+".prix_de_la_recharge","Field","Updatable",.T.)
Is it a wizard error or ODBC error? How can I work around?
Thanks for your help