[Gambas-user] What is wrong with my query syntax?
Doug Hutcheson
owlbrudder at gmail.com
Fri Dec 29 04:43:24 CET 2017
Hi. I'm a new user and I have misunderstood something.
I am trying to establish a connection to a PostgreSQL database.
At http://gambaswiki.org/wiki/howto/database?ht=database-manager,
point 6, I read the following example of a query:
Dim $Query As String
$Query = “SELECT * FROM Friends WHERE Name = '” &
TBXName.Text & “'”
However, no matter how I try, I always get a syntax error on the
assignment line. Obviously I am missing something - can you help?
Kind regards,
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171229/5341c28c/attachment.html>
More information about the User
mailing list