Version:1.0 StartHTML:0000000168 EndHTML:0000002191 StartFragment:0000000438 EndFragment:0000002174
Hello, I have been trying to filter a child browse on an unrelated parent field for several days and am failing miserably. I believe it is possible, but must be missing something. I have a parent browse, ‘Orders’ which has a check box called ‘Shipped’ There are two tabs that the browse resides on, one shows orders that have not shipped and the other shows orders that have shipped. There is a related, one to many, child file, ‘Items’, browse. The ‘Items’ file contains a field ‘Lot Number’ (among other fields). The files are related by the parent ID, an autoincremented, unsigned long. The defaullt view is a normal one-to-many relationship. What I’m trying to do is list all of the lots in the child window using a check box that toggles between the default one-to-many view and a view that shows all lots on the child browse, but still maintains the shipped orders on one tab and the ordres that have not shipped on the other tab. Everything works except for this behavior of keeping the shipped and not shipped orders on the separate tabs when the show all lots(or items) checkbox is checked.
The server-side is MSSQL. Using C10. I’ve tried several different multi-key relationships to no avail. I’ve tried embedding SQL statements in the SetFilter and ResetBrowse embeds, also to no avail.
I’ve beed using Clarion since 2.0 for DOS, but it’s not my primary hat, so I’m away from the development for months at a time, and therefore am not as proficient as I’d like to be.
Any help would be greatly appreciated.
Thanks in advance.