Newbies JoVac Posted June 21, 2016 Newbies Posted June 21, 2016 Développeur Support 21 juin 2016 08:53 I am working on a search query with "Like ?" The query give me no result when I put the search string in a field but If I try with the same value in a constant I have my result. Here are the two query: ExecuterSQL ( "SELECT \"idDossier\" , \"Demandeur\" , \"Historique\" , \"TravailDemandé\" FROM DemandeAssistance WHERE \"Historique\" LIKE ? OR \"TravailDemandé\" LIKE ?" ; $$separateurChamp ; $$separateurLigne ; RechercheGlobale::chaineComposée ; RechercheGlobale::chaineComposée ) ExecuterSQL ( "SELECT \"idDossier\" , \"Demandeur\" , \"Historique\" , \"TravailDemandé\" FROM DemandeAssistance WHERE \"Historique\" LIKE ? OR \"TravailDemandé\" LIKE ?" ; $$separateurChamp ; $$separateurLigne ; "%Roxanne%" ; "%Roxanne%" ) Thanks for your help, Jo
beverly Posted June 22, 2016 Posted June 22, 2016 this has been asked and answered: https://community.filemaker.com/message/581184 beverly p.s. if cross-posting (posting the same question on more than one forum), please notify the others that you are doing so (typically with [x-post] in the subject). It prevents duplication. And if answers are achieved on one, but not the other, it is polite to post the correct answer on all forums where the question was asked, since not all people are on all forums. 1
Newbies JoVac Posted June 23, 2016 Author Newbies Posted June 23, 2016 Thank you it work. And next time I'm posting I'll do like you said. Jo
Recommended Posts
This topic is 3086 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now