Hi!
I'm workin' on an Infopath application connected to an SQL Server Database in which I've got three tables: Users, applications and type of permissions for each application. The fact is that I want to chose some columns from each of those three tables (user_Id, permissions and application_Id) and store them into a single one (called Main Table). What I've just done is start designing a form and chose "Design From Data Source" on the right menu and design it with the wizard. The table in which I want to store data has as primary key UserId-ApplicationId.
All the user has to do is writing its Id (in the query view I guess) and then he will be able to add/modify permissions for each application. But hen I don't know hoy to send that data from those three tables to the main one since each control is bind from the begginning to one of the first three tables. I added combo boxes in which the main data source is my Main Table (in order I could store the data from that control on that table when I add a submit button) and assigned as a secondary data source for each combo the data from each table but when I add a submit button it doesn't has the option to submit to a data base (even when my Main Table has a primary key), but for example, to a web service... I guess this is not the best way, that's why I'm asking for help, I'm just learning Infopath and will really appreciate your comments.
Thanks!!!