Deleting records from a blank subform
Welcome everybody,
I have a form with two subforms: a blank form and an existing form.
Quote:
========================================================================
When you add a subform field to your form, you need to define if the subform is a:
- Blank Form: This option enables you to create a form within the main form such that, the subform's existence is inside the main form
- Existing Form: This option enables you to add an existing form (present in your app) as a subform
========================================================================
I am trying to delete records from the subforms. While it works fine for the records of the existing form following this :
i cant find a solution to delete records form the blank (sub)form.
- delete from blank_subform[ID == deleteThisID];
When I try so save a script like the above, i get an error message:
Form 'blank_subform' does not exist in this application.
Also i cant iterate trough the single records while editing a "main form record". So I get only access for the first one:
- input.main_form.blank_subform.some_field = newValue;
Solutions for the deleting problem or the iterating problem a very much appreciated.
Best Greeting
jan