LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

append table with multi-line cells to word report

Hi,
 
I am using LabView 7.0. I need to append table to word report and I am using Append Table to Report VI. My VI works fine as long as the table cells do not have multiple lines. For multiple lines, each line is put is a seperate cell in the word report.
 
Is there a way to append multi-line cells to Word Report??? If not, any suggestions on how I can copy the multi-line table to Word report???
 
Please kindly help!!
 
Please see the attached document for details on the problem.
 
Thanks,
Mim
0 Kudos
Message 1 of 12
(3,937 Views)

Hi Mim,

With the use of the general 'append table' and the Word 'Easy table' I can insert tables with multiple lines.

I am using 7.1   Can you post a VI to see if it is reproducible on my PC

0 Kudos
Message 2 of 12
(3,924 Views)

Hi KC,

I appreciate your time and help.

Please find attached my VI and the report template that the VI uses to create the report.

I look forward to your feedback.

Thanks,

Mim

 

0 Kudos
Message 3 of 12
(3,919 Views)

Hi KC,

Just another note.. I can add table with multiple rows but if a cell has multi-lines, then it puts the next line in a different cell. I probably didn't mention this in my earlier note.

Thanks for your help,

Mimansa

0 Kudos
Message 4 of 12
(3,915 Views)

Hi Mim,

Yes I understood the multiple-lines part. I think the doc is the report you want. Correct ?

The doc is generated with your VI without any modifications.

I am using XP, Office 2002 SP3 and LV7.1

0 Kudos
Message 5 of 12
(3,911 Views)

Hi KC,

Thanks for your super prompt reply.

The VI adds tables, test information etc to the verification report template... so it does modify it.

I have Microsoft Office 2000 SR1-Professional and LV 7.0. This combination seems to be a problem.

Oh well.. I need to figure out how I can resolvethis issue. LV help does not specify which MS Office it is compatible with.. so I may be LV7.1 is required...

Thanks for your help...

Mims

0 Kudos
Message 6 of 12
(3,904 Views)
A small language problem here I think.   'without modification' I refered to the VI not the doc file
 
Did you try the 'word easy tabel' VI ?
 
0 Kudos
Message 7 of 12
(3,901 Views)

Hi KC,

OOps.. my bad!

Yes, I tried Word Easy vi.. that does the same thing.

Since, my generate report VI works fine on your setup.. I need to have LV7.1 may be?? Multiple line row works for excel so I am modifying my Vi to create excel report instead... I will let you know if that works.

Thanks...

mim

0 Kudos
Message 8 of 12
(3,898 Views)

Hi KC,

Upgrading to LV7.1 resolved the problem. So, looks like LV 7.0 has a bug.

Thanks for your help in understanding the problem.

Mim

0 Kudos
Message 9 of 12
(3,890 Views)
hi ,Mim
I download your zip, but I can not open a subvi 'Append Report Text (str).vi '
can you tell me why? 
0 Kudos
Message 10 of 12
(3,879 Views)