Forum Discussion
Safeesh Rawther
May 15, 2018Copper Contributor
Parameter Query
I have created form with several combo boxes. table is updated and getting all records. When I created query without any parameters i got all records. But when I am adding parameter like [Enter Comp...
Richard Fletcher
Aug 20, 2018Copper Contributor
Usually if you give a parameter a query you also need to inform the database what you want done with that parameter eg re-query the data selecting only the submitted filter (for a select query).
If the parameter is part of a multi table query you must also ensure that the field you are querying on is either key or a foreign key in associated tables (nb the key doesn't have to be visible) otherwise you may get situations where Cartesian joins happen. You may also have to look at the design of your tables to establish what level of Normal Form is being used - most tables would go to 3rd Normal form in design.