Thanks for reading my post.
I've created a form that uses a Webservice as it's main datasource.
The webservice is connected to a SQL database that contains various tables, each of which represents a different part of the form.
There is a client table and the form has the "Client" section that relates to it.
I then have a range of financial products (6) each with their own table, with the idea being that they are represented as Optional Sections on the form, and if the client is buying "Financial Product 1" then "Financial Product 1" Optional section is selected and the relevant details about the product are filled in then returned to the Submit webservice.
The problem I've hit upon is that when dragging the "Financial Product 1" Datasources onto the design view of the form I can only use them within a section or Repeating Section. This is fine as there may be more than 1 "Financial Product 1" sold to a customer at a time, however I am unable to enclose this section within an Optional Section to stop it being visible and active, until the user selects it.
It seems I either need to add a datasource to the SQL Database that is then submitted to the Dataset for the webservice to pick up as a "Group", or I need to add a Secondary Datasource with some sort of Group that I can add these optional sections to.
I have only designed forms using a blank template before, so I could just add any old controls and they'd appear on the Main Datasource, however this obviously works a little differently so would appreciate some help explaining how to create this datasource for an Optional Section, what sort of Datasource it has to be and how to make an Optional Section available to use.
Thanks