Querying, or searching, is one of the most important issues in relational databases. There are many search paradigms, such as Structured Query Language (SQL), keyword search, and form search, a.k.a. Query-By-Example (QBE). Among them, QBE is a good trade-off between usability and functionality. However, existing QBE systems are often inconvenient for users to compose high-quality queries quickly. In this paper the authors investigate the problem of improving the usability of form-based interfaces by enabling them to response a query in real time and tolerate the misplacing of keywords among input boxes.