How to format search table command parameter and where clause
Essentials 4.10
Viewer for HTML5 2.11.2
I've tried formatting my command a couple different ways. The way from a video on search tables had a simple parameter called 'Name' and a where clause that looked like:
WHERE FullName LIKE '%' + ? + '%'
but that's not returning any results. Another post I found looked like
WHERE FullName LIKE ?
but that's not working either. My data connection is set up properly and I have global search checked. Any pointers would be appreciated.
0
-
For setting up the search table, the where clause should be WHERE FullName LIKE @Name assuming you've added a parameter called Name.
Using the parameter @Name takes care of the wildcards for you.
Hope that helps!0 -
Thank you! 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer