Creating InfoPath forms programatically using VSTA ??

I

Infinite

Hi..
I am new to InfoPath, my client has requirement as below.
(1) There are so many employees' record in DB.
(2) For each employee I have to generate their work details for whole month.
(3) There is an Infopath xsn form in which I have to fill those work details.

How can I generate several xsn form for all empl. using existing xsn form??
Please provide me any code sample...

Thanks ,
 
D

Don Reamey \(MSFT\)

InfoPath is normally used for capturing data not for generating reports.

Generating an XSN is probably not the right solution. What I think you want
to do is have a .XML based on the XSN file for each user. Unfortunately
there is not an API for generating XML based on the XSN.

I would recommend using Access or SQL Server to iterate over the items in
the database and generate XML based on a XSD schema.

--
Don Reamey
Software Development Engineer
InfoPath Forms Server
Microsoft Corporation
http://blogs.officezealot.com/dreamey
 

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