
Mike Mackinnon
Well Known Member
I am looking at doing a search through a custom table that has multiple fields for an item number.
Example table fields: Item1, Item2, Item3, Item4, Item5, Item6, Quantity, Location, etc.
I want to return ALL records that have an item number in any of the "item fields". Currently I have DD defined field (FC Field - LITM) that I am using for user entry of the item number to be found. I then use events rules in "Grid Record is fetched" to check the value of the FC Item field to compare to all field BC values and hide/display as necessary (on IF with multiple OR clauses). It turns out that this takes a fair bit of time to return the grid results and was wondering if there is a better way to search multiple fields for data like this??
I found that for the application the fastest method is the manual 'user searching' each QBE field individually works best.
However, I would maybe like something more 'elegant' as it might be a bit of a pain for user to search each column for his/her item data.
Thanks!
Example table fields: Item1, Item2, Item3, Item4, Item5, Item6, Quantity, Location, etc.
I want to return ALL records that have an item number in any of the "item fields". Currently I have DD defined field (FC Field - LITM) that I am using for user entry of the item number to be found. I then use events rules in "Grid Record is fetched" to check the value of the FC Item field to compare to all field BC values and hide/display as necessary (on IF with multiple OR clauses). It turns out that this takes a fair bit of time to return the grid results and was wondering if there is a better way to search multiple fields for data like this??
I found that for the application the fastest method is the manual 'user searching' each QBE field individually works best.
However, I would maybe like something more 'elegant' as it might be a bit of a pain for user to search each column for his/her item data.
Thanks!