[if-mm !tables] [set ui_error]Not authorized for table.[/set] [bounce href="[area __UI_BASE__/error]"] [/if-mm] [if !advanced report] [bounce page="__UI_BASE__/error"] [value name=saved_report set=""] [/if] [if cgi mv_data_table] [value name=saved_search set=""] [/if] [seti page_title]Search builder[/seti] [set help_name]search_builder[/set] [set icon_name]admin/icon_config.gif[/set] [seti name=tables][list-databases][/seti] [seti meta_header] [perl table="[scratch tables]"] my @tables = split /\s+/, $Scratch->{tables}; my $out; for(@tables) { $tables{$_} = [ $Db{$_}->columns() ]; } $out = " EOF [/perl] [/seti] [calc] $Config->{NoSearch} = ''; [/calc] @@UI_STD_HEAD@@ [seti table_list] [loop prefix=table list="[scratch tables]" option=search_table] [/loop] [/seti]
![]() |
|||||||||||
![]() |
|||||||||||
Search Info |
| ||||||||||
![]() |
|||||||||||
Search filter
[loop-change 1][condition]only[/condition]
First must be in base table. Faster performance if "equal to" for SQL tables. Faster performance if "regular expression match " for text searches. [/loop-change 1] |
| ||||||||||
![]() |
|||||||||||
Sort order [loop-increment] | Break: [if value break[loop-code]] no yes [else] no yes [/else] [/if] | ||||||||||
![]() |
|||||||||||
Column return |
[loop list="[scratch column_nums]"] [/loop] | ||||||||||
[if-mm advanced mml] [/if-mm] |