Hello,
that can e.g. be done with a one row Filter table
Code: Select all
CREATE TABLE "tblFilter"("ID_F" BOOLEAN NOT NULL PRIMARY KEY,"F_NAME" VARCHAR(50))
Check the PK in that table enter the search-Name into that one row, and store the row to make it existing.
Now modify your Query for the report
Code: Select all
SELECT "ID", "ID_F", "Name", "Service", "Price", "Date1", "P?", "P Way", "DP" FROM "tblServices","tblFilter" WHERE (LOWER ( "Name" ) LIKE '%' || LOWER ("F_NAME" ) || '%'  OR "F_NAME" IS NULL) AND "P?" = 0 
You can make these things more comfortable if you use a Form, containing a filterfield bound to "F_NAME" and a Button with makro to directly open the report from that form.
R
EDIT: If you don't the Oracle-Report-Builder, but the shipped one, a report based on a parameter-query will promt the input dialog for the parameters, see attached example.