Solved

Infopath Export to Excel does not work

Posted on 2010-11-10
8
887 Views
Last Modified: 2012-05-10
Infopath Export to Excel does not work.

I have a infopath form with 2 tesxnbox  on it. They data is  ABC  and FGT.

When I use export to Excel I see an excel file opens and data are:


ns1:field1      ns1:field2      ns1:field3      ns1:field4      ns1:field5      ns1:field6      ns1:field7      ..


Am I missing something?

0
Comment
Question by:unknown_routine
  • 4
  • 4
8 Comments
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 100 total points
ID: 34103236
You could create a custom view to export. The steps below are from MS http://office.microsoft.com/en-us/infopath-help/tips-for-getting-the-most-out-of-export-to-excel-HA001122791.aspx

In design mode, click Manage Views on the View menu.
Under Actions in the Views task pane, click Add a New View.
In the New view name box in the Add View dialog box, type a name for the new view.
 NOTE   Be sure to give the view a name that clearly identifies its purpose for your users. For example, you can name it Data to Export.

Copy and paste the controls that collect the data users will need to export into the new view.
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34103808
Above "Almost" works.

I created a view

First Name  
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34103821
Above "Almost" works.

I created a simple view :

First Name      Last Name

Joe                 Smith


In Excel it shows as :


Nam (my:myFields/my:Nam)      LNam (my:myFields/my:LNam)
Joe                                                 Nash


Do you know how to get rid of   addtional entires: my:myFields/my:Nam   ??




0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34103942
Is there no option to just show the simple header names in the export wizard? Hang on and I'll try to connect to my computer that has infopath and see if I can find it.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34104159
Ah. It's pulling the names from the XML so you really can't change that. The headers will look like that unless you change them in Excel after exporting.
(You could probably write a complex macro to do this for you, but I'm guessing it's not worth it).
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34104852
Ok Thanks.
0
 
LVL 15

Author Comment

by:unknown_routine
ID: 34104870
Curious to know where did you see the XML.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34104950
On the right side in Excel it opened up the XML dataviewer thing.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now