Jim Wagner
2017-09-20 19:57:58 UTC
Greetings -
Database = MySQL
I have been through the LR and the Tutorials and now the Users Guide (Framework > Databases) and I am stumped. I remember that something special was needed for this on the RBDatabase but I cannot recall what.
I want to have a WHERE statement to be defined by a program-generated variable, as in
Dim N as integer = (row ID obtained elsewhere)
Dim deleteSQL as string = âDELETE FROM Event WHERE ID = âN'â
But that wonât work because N must be a number defined by the program and the previous expression will take N literally as a string.
Iâve also been though a fair amount of MySQL documentation and have yet to find anything that illuminates this. Its probably there, but just not yet found.
Can someone help?
Many Thanks
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
To unsubscribe, email ***@xojo.com
Database = MySQL
I have been through the LR and the Tutorials and now the Users Guide (Framework > Databases) and I am stumped. I remember that something special was needed for this on the RBDatabase but I cannot recall what.
I want to have a WHERE statement to be defined by a program-generated variable, as in
Dim N as integer = (row ID obtained elsewhere)
Dim deleteSQL as string = âDELETE FROM Event WHERE ID = âN'â
But that wonât work because N must be a number defined by the program and the previous expression will take N literally as a string.
Iâve also been though a fair amount of MySQL documentation and have yet to find anything that illuminates this. Its probably there, but just not yet found.
Can someone help?
Many Thanks
Jim
James Wagner
Oregon Research Electronics
http://www.orelectronics.net <http://www.orelectronics.net/>
To unsubscribe, email ***@xojo.com