Re: Newbie on Livecode
Posted: Tue May 13, 2014 7:31 pm
Hello, it's me again ...
Is there a possibility to recover a variable in a SQL command ?
I'd like to do this : but I don't know how to write it.
I have created a global variable in my stack and when an item is selected in my option menu, its content goes into myvariable. That works. But I can't find how to recover the content of this variable in the sql command.
Would you have any idea ?
Thanks a lot !
Is there a possibility to recover a variable in a SQL command ?
I'd like to do this :
Code: Select all
put "SELECT * from informations WHERE infos LIKE myvariable into tSQLI have created a global variable in my stack and when an item is selected in my option menu, its content goes into myvariable. That works. But I can't find how to recover the content of this variable in the sql command.
Would you have any idea ?
Thanks a lot !