1) I have tried
Code: Select all
SELECT "field1", "field2" FROM "mytable" WHERE "field1" LIKE :input
2) and I would like to do the same with a form, I have added a text box and a table, how do I put the query in the table and make it show different result depending on what is written on the text box?
thanks in advance
Edit: update 1: I know SQL syntax, but have almost no knowledge of openoffice base interface. so I would need a more detailed answer when it's not about the syntax |
Edit: update 2: please, do not mind the LIKE clause, I only want to know how to have a user input, how can I have a more dynamic query that can accept input instead of a static query that always give me the same result (until I change the table). and I will probably need a tutorial on how to make forms, but that's an other topic. |