Infopath used as a database, can it be done?

  • Thread starter Bill of Materials Creation?
  • Start date
B

Bill of Materials Creation?

Can Infopath be used to generate a Bill of Materials for customer orders? I
need to attached a database to Infopath and use a simple drop down box to
select what I need.
All info, i.e quantity, units, and price need to be carried over from the
database to the form.
Let me know what you think...

Best Regards,
Kevin
 
N

Nick Dallett [MSFT]

Yes, you can easily use InfoPath with databases. To make the database the
main data source for your form, click "design a form" and then choose "New
from data connection". Choose "database" in the next screen of the wizard,
and then walk through the wizard. You can both query and submit data from
the database using a database as your main data connection.

If you simply want to draw your drop-down field values from a database
table, open the data connections dialog ("Tools-->Data Connections"), and
then click "add". Add a connection to receive data, choose "database", and
step through the wizard to select your data.

Once you have defined the data connection, double-click on the drop-down
listbox you want to populate with the data, and choose "look up values in a
data connection...". You can then select the data connection you just
added, and select the columns to use for the display name and value of the
dropdown.

Note that InfoPath only supports Access and SQL Server databases using this
method. In order to use another database, you should create a web service
to access the data, and connect to the Web Service instead.

Best luck!

--
Nick Dallett
Program Manager, Microsoft Office InfoPath

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm. Please do not send email
directly to this address. This address is for newsgroup purposes only.


"Bill of Materials Creation?" <Bill of Materials
[email protected]> wrote in message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top