Error after closing form

I am getting the following error and I can’t figure out where it comes from. I don’t know after which version it appeared as I recompiled an old application after 4 months.

The array key is different every time I close the app.

I deleted all events, subforms and buttons but it still exists.

Warning: Undefined array key 170 in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\DEV_APP\form_devices\form_devices_fim.php on line 293 NULL Warning: Undefined array key 170 in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\DEV_APP\form_devices\form_devices_fim.php on line 295 Warning: foreach() argument must be of type array|object, null given in C:\Program Files\NetMake\v9-php81\wwwroot\scriptcase\app\DEV_APP\form_devices\form_devices_fim.php on line 295

@computech,

Can you confirm whether the same problem occurs when creating a new form application?

If not, we suggest that you contact the tool’s support team via chat so that you can receive more effective help, as they will be able to analyze your application and, if necessary, open a ticket.

Best regards!

I found out that the problem appears when you have a form that has a Master/Detail Form that has a Nested Grid.

Grid → Edit Form → Master/Detail Form-> Grid that has a Nested Grid.
You see the error after you exit the Edit Form.

I replicated it several times using sample applications.
You can test it yourselves.

Thank you for your feedback.

Let us understand better, and please confirm if the scenario is as follows:

1 - We create a Form A
2 - We create a Grid A with an editing link to Form A and add a nested Grid B to this Grid A
3 - In Form A, we create a master/detail, and add Grid A to be the detail.
4 - We run the Form A application;
5 - In Grid A that is in the detail of Form A, we click to edit the record, whose Editing Form is Form A itself.
6 - We exit the Grid A Editing Form and check the error

Do you also use the Master Form itself as the Editing Form for the Detail Grid?

We are waiting to continue.

Best regards!

Thank you for your response.
To clear things out because I think I wasn’t clear enough.
1 - We create a Form A
2 - We create a Grid A with an editing link to Form A
3 - We create a Grid B
4 - We create a Grid C
5 - We add Grid C as a nested grid in Grid B
6 - In Form A, we create a master/detail, and add Grid B to be the detail.
7 - We run the Grid A application;
8 - In Grid A we click to edit the record, whose Editing Form is Form A .
9 - We exit Editing Form A and check the error

Thank you for your feedback once again.

We have already identified the problem and reported it so that the responsible team can work on the fix, and as soon as it is released, we will provide feedback through this topic.

Once again, thank you for your collaboration.

Best regards