Solved

Infopath Export to Excel does not work

Posted on 2010-11-10
8
885 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
Comment Utility
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
Comment Utility
Above "Almost" works.

I created a view

First Name  
0
 
LVL 15

Author Comment

by:unknown_routine
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
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
Comment Utility
Ok Thanks.
0
 
LVL 15

Author Comment

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

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

763 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

13 Experts available now in Live!

Get 1:1 Help Now