[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 906
  • Last Modified:

Infopath Export to Excel does not work

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
unknown_routine
Asked:
unknown_routine
  • 4
  • 4
1 Solution
 
TommySzalapskiCommented:
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
 
unknown_routineAuthor Commented:
Above "Almost" works.

I created a view

First Name  
0
 
unknown_routineAuthor Commented:
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
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
TommySzalapskiCommented:
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
 
TommySzalapskiCommented:
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
 
unknown_routineAuthor Commented:
Ok Thanks.
0
 
unknown_routineAuthor Commented:
Curious to know where did you see the XML.
0
 
TommySzalapskiCommented:
On the right side in Excel it opened up the XML dataviewer thing.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now