LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with append table and Word 2010

No, the workaround doesn't work for me.

I have a predefined report template and want to add the table at a bookmark.

 

Replacing the "Word set CB.vi" had no effect, and inserting data in a table field by field is not possible with bookmarks, or?

 

Regards,

Bastian

 

0 Kudos
Message 21 of 36
(2,530 Views)

Now, i have a workaround which works.

I create an empty table at the given bookmark with the correct amount of rows and columns. After that I fill it using the workaround shown in a previous post.

 

Regards,

 

Bastian

 

0 Kudos
Message 22 of 36
(2,524 Views)
Hello Drew, we ran into the same problem (creating tables with LV2011 for Word 2010). Our customers and ourselves consider this a major problem, simply because it affects a most common form of output using the most recent versions of LabVIEW and Word; having that version of Word already in the market for a while! So I wonder why this is NOT listed under 'known issues' for the LabVIEW 2011 Report Generation Toolkit?? Next, we wonder what to tell our customers -- is this technically an issue with LabVIEW or with Word 2010?? But what we all wonder most is when a decent fix will be officially available for LabVIEW 2011. We'd like that asap. Many thanks and best regards mkr
0 Kudos
Message 23 of 36
(2,474 Views)

MKr,

 

I am sorry that this is still causing you problems.  As mentioned before, it has been reported to R&D as Corrective Action Request (CAR) #257414.  I do not have information on when this will be fixed, but the release notes for new versions of the toolkit will contain the CAR # when it has been resolved.

 

To the best of my knowledge, this was a change that Microsoft implemented in their Office product, which reduced some of the functionality of LabVIEW's toolkit.  As to why this issue is not listed in the known issues list, I am not sure, but I will look into it.

Drew T.
Camber Ridge, LLC.
Message 24 of 36
(2,458 Views)

MKr,

 

I have spoken with R&D, and this CAR will be added to the Known Issue list moving forward.

 

Thanks for pointing this out!

Drew T.
Camber Ridge, LLC.
Message 25 of 36
(2,438 Views)

Thanks for the status update.

0 Kudos
Message 26 of 36
(2,430 Views)

BastiFantasti hello.


please, I've had the same problem as you this time, help me with this.
what you mean with what you showed in the previous post?

"Now, i have a workaround Which works.
I create an empty table at The Given Bookmark with the correct amount of rows and columns. After That I fill it using the workaround Shown in a previous post.
 
Regards,
 
Bastian "

Thanks ..!

0 Kudos
Message 27 of 36
(2,285 Views)

Hi all

 

I stumbled into this problem a couple of days ago. After some experiments I found that the problem is that Word 2010 treats cell separators while pasting table contents in a different way than before. The report generation toolkit uses line feed (LF, \n) to separate both columns and rows, filling one cell at a time, from left to right, and then continuing with the next row. However, Word 2010 expects tab (\t) to separate each column and then a LF to continue on the next row, and then fills the selected table area with this sequence.

 

I have not found out how to insert a new line or a tab within a cell.

 

Try this by opening a  Notepad a create a table with different separators and copy it, create a Word document with a table, select an area of the table and paste. The result may look like the picture below.

 

Word2010table.JPG

 

I've attached two toolkit VIs modified with the updated separators.

 

 

Best regards

Michael

 

Using LabVIEW 2011.

 

Download All
Message 28 of 36
(2,253 Views)

Thank you very much, this fixed our issue.

0 Kudos
Message 29 of 36
(2,153 Views)

I am also having similar problem with appending table to excel. I am using "Append table to report VI" like this:
attr.png

The problem is that it does not append all rows that are actualy in my array but just only few of them. Here is the actual table which I want to append:

tabela.PNG 

 

And this is what i get in excel worksheet:

exceltabela.PNG

 

You can see that only two of ten rows are in report.

while I was searching for resolution of my issue, i found this:
http://digital.ni.com/public.nsf/allkb/5D0D4B9912724D19862574F7006768ED

where says that I could either:

  • Go to the bottom right element in your table and place a single space as the data.
  • Go to the cell below or to the right of the bottom right element of your table and place a single space as the data.
    And make this values default.

 

BUT after i have done that it wasn't any better - even worse.

it looked like that:

exceltabela3.PNG

there was still only two values in the table but they were shifted right.


I hope you can help me.

Thank you.

 

 

0 Kudos
Message 30 of 36
(2,137 Views)