I have parent / child Browses on a memory form. The Customer is selected from a dropdown before the Browses. Using the customer number, a very simple filter is constructed:
[3552] [netTrace][thread=3] Invoice Header Filter= SHH:CustomerNumber = 'GIF-010'
SHH:CustomerNumber is the high order field in the key. It is case sensitive. There are 4 fields in the key. The second is sorted descending. The Browse takes a looooonnnnng time to display. The file is a little over 900 MB.
I have another form with a parent / child browse against 2 other files. Almost the same format. The Customer number here is also case sensitive. It displays very fast.The file is about 11 MB. It's filter is:
[3552] [netTrace][thread=3] Order Header Filter= OEH:CustomerNumber = 'GIF-010' AND OEH:DeliveryCode <> 'BK' AND INSTRING(OEH:TransCode,'ORDRET',1,1)
I don't understand why the first is very slow and the second is fast. Any ideas? What can I look for?
Thank you,
Rich