Don't know if anyone wants to take the time to check this out, but here goes.
Have two attachments. One is the app the other is the data files to use to restore after doing a test.
Testing with build 3252 and 3252 with new browse. (Build 3216 works like 3252 w/o new browe) Steps to take to test.
1. Run form "annual_plan"
2. Select button "Profit Allocation"
3. Select all records (12) in child embedded browse.
4. Right click and select delete.
5. This will delete all the child records. If using 3252 w/o new browse, first record will still be displayed. (However, just ran this test again and no records showing. 1st time that happened!) If using new browse (3252), all records will still be showing. Both browses are filtered on a Year field = global variable->glo_Year. Only way (with new browse) to get child "deleted" records not to show is to pack the table.
Now here is another problem I've found. In the profit_allocation form, the child browse is tied to table profit_allocation. This table, via field rules Posting, updates the bank_transacts table. See pdf attachment. Since posting will only zero out the field it is updating when deleting the record, I would like to delete the record in the bank_transacts table. Therefore, I have added xbasic code in the profit_allocation table, field rules OnDeleteRecord event to delete the record in bank_transacts.
1. Using 3252 w/o new browse: If I delete one record at a time, this will work. If I try to delete more than one record at a time, it doesn't work, i.e., nothing gets updated/deleted in the bank_transacts table.
2. Using 3252 with new browse, all works as advertised. However, the deleted profit_allocation records (as noted above) are still showing in the profit_allocation form until the table is packed.
I am assuming these are bugs, but would really like someone else to test first.
Thanks.
Ernie
P.S. Just ran the test again with 3252 and first record is still showing after deleting all records in browse.
Have two attachments. One is the app the other is the data files to use to restore after doing a test.
Testing with build 3252 and 3252 with new browse. (Build 3216 works like 3252 w/o new browe) Steps to take to test.
1. Run form "annual_plan"
2. Select button "Profit Allocation"
3. Select all records (12) in child embedded browse.
4. Right click and select delete.
5. This will delete all the child records. If using 3252 w/o new browse, first record will still be displayed. (However, just ran this test again and no records showing. 1st time that happened!) If using new browse (3252), all records will still be showing. Both browses are filtered on a Year field = global variable->glo_Year. Only way (with new browse) to get child "deleted" records not to show is to pack the table.
Now here is another problem I've found. In the profit_allocation form, the child browse is tied to table profit_allocation. This table, via field rules Posting, updates the bank_transacts table. See pdf attachment. Since posting will only zero out the field it is updating when deleting the record, I would like to delete the record in the bank_transacts table. Therefore, I have added xbasic code in the profit_allocation table, field rules OnDeleteRecord event to delete the record in bank_transacts.
1. Using 3252 w/o new browse: If I delete one record at a time, this will work. If I try to delete more than one record at a time, it doesn't work, i.e., nothing gets updated/deleted in the bank_transacts table.
2. Using 3252 with new browse, all works as advertised. However, the deleted profit_allocation records (as noted above) are still showing in the profit_allocation form until the table is packed.
I am assuming these are bugs, but would really like someone else to test first.
Thanks.
Ernie
P.S. Just ran the test again with 3252 and first record is still showing after deleting all records in browse.
Comment