RemoveSummaries may have problem (even crash?) with form views

Issue #1202 new
Jim Rea repo owner created an issue

Made a simple procedure:

field A
count
lastrecord
removesummaries 7

When run with a form window active, sometimes it would leave all items in the form window blank. I think it is syncing the display with the summary record, which is then removed. Is somehow the removesummaries code starting before the lastrecord statement has finished updating the display? It didn’t crash for me, but I think this may cause crashes in some cases. See crash SHA c8d8a44be14069b9045073e101c069f4d6eac0a7, also https://forum.provue.com/t/stepping-through-a-procedure/4924/3.

Comments (2)

  1. Jim Rea reporter

    Dave Scott reports that putting a firstrecord statement just before the removesummaries statement fixes the crash. So probably the problem can be fixed by making sure that the current record is NOT a summary record that is about to get removed.

  2. Log in to comment