The backend for this form is SQL 2008R2, the form is designed in InfoPath 2010 and will be used with the InfoPath form filler.
In my SQL2008R2 table I have store information (Store number, Store Name, City, State, Zip) and in my second table I have more information about the store (Store Number, Opening Date, Owner, Manager). Store Number is the primary key on both tables. This form that I need help with is for data entry into this second table.
Currently my main data connection is to the second table. I have a receive data connection setup for the first table. I can create a Dropdown List query field and setup the options to come from the receive data connection to give me a dropdown list of store numbers. I can use that dropdown list and run a query to populate the form.
What I need to do is have other dropdown lists, like say Store Name, that I can use to populate that form.
I'm kind of lost on this one after trying a lot of things (adding tables to my main data connection had very strange results that I wasn't expecting at all). Hopefully I've explained this well enough that someone might have some ideas on how I can accomplish this.