E
Edwin Verwer
I have a form with 8 rows of 5 objects.
Namely a combobox | textbox | combobox | combobox | textbox
These objects are named:
combobox (1 to 8) textbox (1 to 8) combobox (1 to 8) and so on.
All the rows except for the first row of objects are disabled.
What i want in this form is to force users to fill in the first row before
going to the next row. (this also coints for the rows that come after the
first one)
So if all the 5 fields in the first row are filled with data ( <> "" ) the
next row will be enabled.
But also if the data in one of the prefiouce fields (if more rows are filled
with data)
is deleted that all the rows that come after that empty field will have
their data put in a array, the field of those rows made empty and then have
those fields disabled until that emptie field is filled again.
If that empty field is filled again the fields have to be enabled again and
the data from the array has to be put back in the fields.
I know that this is possible with if statements but then i will get a LOT of
code.
What is the best (or better) way to solfe this?
Namely a combobox | textbox | combobox | combobox | textbox
These objects are named:
combobox (1 to 8) textbox (1 to 8) combobox (1 to 8) and so on.
All the rows except for the first row of objects are disabled.
What i want in this form is to force users to fill in the first row before
going to the next row. (this also coints for the rows that come after the
first one)
So if all the 5 fields in the first row are filled with data ( <> "" ) the
next row will be enabled.
But also if the data in one of the prefiouce fields (if more rows are filled
with data)
is deleted that all the rows that come after that empty field will have
their data put in a array, the field of those rows made empty and then have
those fields disabled until that emptie field is filled again.
If that empty field is filled again the fields have to be enabled again and
the data from the array has to be put back in the fields.
I know that this is possible with if statements but then i will get a LOT of
code.
What is the best (or better) way to solfe this?