travel-net
Posts: 56
|
Posted: 03/24/2004, 1:16 AM |
|
Hello,
How can i add a Search parameter in a custem sql based grid.
I've tried the following but then the grid contains no records.
AND tablename.field like '%{fieldname}%'
Regards,
Frans
|
|
|
peterr
Posts: 5971
|
Posted: 03/24/2004, 5:48 PM |
|
Your SQL code look OK, but you also need to click the [+] button and define the "fieldname" parameter.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
travel-net
Posts: 56
|
Posted: 03/24/2004, 11:59 PM |
|
Helo,
I wan't to define the search by a search form, thus SEARCH FORM, CUSTOM SQL BASED Grid.
Therefore i think it is not possible to define the parameter via the + button, because the search form transfers the parameter.
Regards,
Frans
|
|
|
peterr
Posts: 5971
|
Posted: 03/25/2004, 10:34 AM |
|
I understand and the answer is the same
The Grid simply needs to know which of the search fields you are using and therefore you need to specify this in the grid parameter definition. Otherwise {fieldname} is just a word without any meaning.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|