Hi .... I hope someone can help a novice with a named find that's not working properly using Approach 9 (millenium edition).
I have used the 'assistant' to help me generate this find:-
___________________________
In database "ORDERS2", find all records in field "CLIENT" that are exactly equal to "Park Air Electronics Ltd" or "Park Air Systems Ltd"
AND
in database "SHIPMENT2", find all records in field "BATCH_STAT" that are exactly equal to "WIP/SHORT", "SHORTAGE" or "FI short"
AND
in database "CONCES2", find all records in field "OS_SHORTAGE" that are not equal to "0"
____________________________
As far as I can tell the database CONCES2 has a one to many relationship with ORDERS2 where CONCES2 is the 'many'. Basically, the OS_SHORTAGE field is listed as a subform with ORDERS2. Problem is that unless the value of OS_SHORTAGE is not equal to "0" in the first line of the subform, the find won't pick it up.
I used to be a basic user of DataEase for DOS a long time ago, and I'd have got around this problem by using the 'ANY' command i.e. if any of the OS_SHORTAGE is not equal to "0", then list them. However, this find seems to be only checking the first line in the subform list.
I hope someone understands this even though most of my terminology is wrong.... Here's hoping...
Gary Lewis
I have used the 'assistant' to help me generate this find:-
___________________________
In database "ORDERS2", find all records in field "CLIENT" that are exactly equal to "Park Air Electronics Ltd" or "Park Air Systems Ltd"
AND
in database "SHIPMENT2", find all records in field "BATCH_STAT" that are exactly equal to "WIP/SHORT", "SHORTAGE" or "FI short"
AND
in database "CONCES2", find all records in field "OS_SHORTAGE" that are not equal to "0"
____________________________
As far as I can tell the database CONCES2 has a one to many relationship with ORDERS2 where CONCES2 is the 'many'. Basically, the OS_SHORTAGE field is listed as a subform with ORDERS2. Problem is that unless the value of OS_SHORTAGE is not equal to "0" in the first line of the subform, the find won't pick it up.
I used to be a basic user of DataEase for DOS a long time ago, and I'd have got around this problem by using the 'ANY' command i.e. if any of the OS_SHORTAGE is not equal to "0", then list them. However, this find seems to be only checking the first line in the subform list.
I hope someone understands this even though most of my terminology is wrong.... Here's hoping...
Gary Lewis