Query processing in forms involves firing pre-query and post-query triggers. A pre-query trigger fires before a query executes and can be used to check or modify query conditions. A post-query trigger fires for each fetched record and can be used to populate additional items and perform calculations. Where clauses from multiple sources are combined with AND and order by clauses are prioritized.