I use InfoPath 2003.
Can I use a data connection to populate a drop down (items available for
ordering) and then use a data base connection to store the data submitted in
SQL? In other words, two data connections.
On top of all this, I want to do this in a repeating table so if the
database of items that can be ordered is 50 items, someone could order 1 of
each of the 50.
Make sense? I hope so
Thanks
The first data connection would be a "Retrieve data" data connection to a
database, so that is possible. But you cannot create a "Submit data" data
connection to a database, because there isn't one in InfoPath. You'll have to
write code (either ADO or a webservice) to submit data to a database. Have
you already walked through the InfoPath labs
(http://msdn2.microsoft.com/en-us/office/aa905438.aspx)?
I'm not sure I understand your second question, but if you meant whether it
is possible to use a drop-down in a repeating table, the answer is yes. Once
you've selected an item from the drop-down, that becomes *the value* of the
drop-down. So when you submit the form, only the selected value will be
submitted.
---
S.Y.M. Wong-A-Ton
> I use InfoPath 2003.
>
[quoted text clipped - 9 lines]
>
> Thanks
Art - 06 Mar 2007 14:09 GMT
What if I created a new form based on a database connection to a SQL table
which becomes the submit (save)
And then created a new data connection for the retreive to populate the drop
down.
Won't this give me the desired effect?
> The first data connection would be a "Retrieve data" data connection to a
> database, so that is possible. But you cannot create a "Submit data" data
[quoted text clipped - 24 lines]
> >
> > Thanks
S.Y.M. Wong-A-Ton - 07 Mar 2007 05:55 GMT
That too would work. Thought you specifically wanted to use a submit data
connection to a database...
---
S.Y.M. Wong-A-Ton
> What if I created a new form based on a database connection to a SQL table
> which becomes the submit (save)
[quoted text clipped - 32 lines]
> > >
> > > Thanks