K
Kahuna
Hi Folks
I have a form used to select criteria which is then used to build an SQL
string.
The fields I already have in the form make up the selection for what would
be one line in a Query window (resolving into the AND portion of the SQL
string). Each of these fields relate to a table entry.
My challenge is to programmatically add another section to the form with a
replica of the fields in the first section - this will resolve into the OR
portion of the string. When these new fields are populated they will be
saved back to the table, as a new record, with a 'Section' identifier to
know its part of the initial section string.
This may be done between 0 and 20 times per form, where the user can select
'Add a Section'.
Building the SQL is simple but I am at a loss as to how to code this form?
Is it possible to keep adding a section to a form and how do I replicate the
fields and layout on each.
Suggestions appreciated.
Cheers
I have a form used to select criteria which is then used to build an SQL
string.
The fields I already have in the form make up the selection for what would
be one line in a Query window (resolving into the AND portion of the SQL
string). Each of these fields relate to a table entry.
My challenge is to programmatically add another section to the form with a
replica of the fields in the first section - this will resolve into the OR
portion of the string. When these new fields are populated they will be
saved back to the table, as a new record, with a 'Section' identifier to
know its part of the initial section string.
This may be done between 0 and 20 times per form, where the user can select
'Add a Section'.
Building the SQL is simple but I am at a loss as to how to code this form?
Is it possible to keep adding a section to a form and how do I replicate the
fields and layout on each.
Suggestions appreciated.
Cheers