E
Eelco de Vries
Hi there,
I've got a problem here: I've got an application that needs to open a chain
of forms, depending on a choice made in a previous form.
So, if a user chooses option A in form 1, then successively forms 2,3,4 and
5 need to be opened in that order, if he chooses option B, then forms 4, 2, 6
and 5 need to be opened.
I've got two tables: first the table that holds the choice together with the
description of the input forms and the order that they should be entered, and
one that holds the description of the forms and the actual names (or the
names of the subs that open them).
I now try to build an array of form names, depending on the choice. Afaik,
this works.
The problem is now that I can;t figure out how to use the array to open the
forms in that order. Each form has two buttons: previous and next.
As you can imagine, the buttons should enter the correct forms, and the
first form that is opened should always fall back to the choice-form, and the
last form opened should always enter a report-form.
The first form and the last form can vary.
How do I do this?
I've got a problem here: I've got an application that needs to open a chain
of forms, depending on a choice made in a previous form.
So, if a user chooses option A in form 1, then successively forms 2,3,4 and
5 need to be opened in that order, if he chooses option B, then forms 4, 2, 6
and 5 need to be opened.
I've got two tables: first the table that holds the choice together with the
description of the input forms and the order that they should be entered, and
one that holds the description of the forms and the actual names (or the
names of the subs that open them).
I now try to build an array of form names, depending on the choice. Afaik,
this works.
The problem is now that I can;t figure out how to use the array to open the
forms in that order. Each form has two buttons: previous and next.
As you can imagine, the buttons should enter the correct forms, and the
first form that is opened should always fall back to the choice-form, and the
last form opened should always enter a report-form.
The first form and the last form can vary.
How do I do this?