Report Generation: linebreak text in Word table row

Hello everybody.
Im trying to add some pretty tables to my Word report created with the Report Generation Toolkit.
I build my 2d string array with the table data and that works fine. But if I add a text to the array cell that has a linebreak constant it breaks the table. I.e my strings is not in the right place and some are missing in the table if linebreaks exists in the strings in the 2d string array that I feed to the 'Word Easy Table' VI. Se my lw 7.1 example below.
Any one have an ide how to solve this?
Attachments:
WordTable-LinebreakProblem.vi ‏82 KB

Paul,
You last response got me think about the complex nested grouping of my for loops that are surrounding and embedded in my table(s). I analyzed my groupings and found that two of my levels had similiar values. When I moved those groupings outside my table, the 3 TOC entries FINALLY appeared !!! Newbie error!!! Anyway, the only problem left to resolve is the page number is not generating with the TOC entries (Getting Bookmark Not Defined Problem). I am wondering if this is a context problem ...or still part of a looping problem. I also can't seem to get the table headers to replicate on page breaks in RTF mode. They do work in PDF generation mode. It is sort of difficult to pass info because I nature of the info I am working with. Thanks for your time and patience. I have learned alot just trying to get this complex template to work.
Thanks,
Tom

Similar Messages

  • Building a report with a text based on table rows

    Hello!
    I have in my database a table named "Support_Request" and another table named "Request_Advance", the first one have a brief description of each support request problem and some information related, the second one have each participation of technicians and customers in the resolution of the case (i.e a knowledge base about the request)....
    Well, i want to take each advance related to a support_request and concat them in a unique text to show this information in a report, how i do that?....
    acctually iam trying without results with a before report trigger with the following code:
    function BeforeReport return boolean is
         advance_report request_advance.advance%type;
    cursor cur is
    select advance from request_advance
    where id_caso=:id_caso;
    begin
    open cur;
    loop
    fetch cur into advance_report;
    :TOTAL_ADVANCE:=:TOTAL_ADVANCE || advance_report || '********';
    exit when cur%NOTFOUND;
    end loop;
    return (TRUE);
    end;
    please can somebody help me? :$

    Thanks Claudine, i do the following function (spanish version) and works:
    CREATE OR REPLACE FUNCTION Avance_Total(caso IN soportebwv2.avance_caso.id_caso%type) RETURN VARCHAR2
    IS
         avance_total VARCHAR2(15000);
         avance_reporte soportebwv2.avance_caso.avance%TYPE;
         CURSOR cur IS
         SELECT avance FROM avance_caso
         WHERE id_caso=caso;     
    BEGIN
         OPEN cur;
    LOOP
         FETCH cur INTO avance_reporte;
         avance_total:= avance_total || avance_reporte || '*************************************';
         EXIT WHEN cur%NOTFOUND;
    END LOOP;
    CLOSE cur;
    RETURN avance_total;
    END;
    SHOW ERRORS;
    but my advance appear repeating several times, you have any idea why?
    Beatriz

  • Report Generation Toolkit hyperlink in a table

    Having just purchased Report Generation Toolkit 1.1.2 for Microsoft Office for my LabVIEW 7.1, I'd now like to create an HTML report containing a large table.  I'd like to fill the cells of the table with Hypertext links to various documents.  I can't see any vi's in the toolkit that do this  Can someone please suggest where I should be looking, or the best approach to this problem?
    Solved!
    Go to Solution.

    Hi JohnBoy,
    Please see the following KnowledgeBase Article: Creating Hyperlinks to Files on the Local Hard Drive.
    Regards,
    Claire Reid
    National Instruments

  • Removing overset text in empty table rows (InDesign CS5.5)

    I have some overset text in a table that appears to be empty rows.  I've opened story editor so I can remove the text, but I can't select the area that's overset (the red lines).  How does one remove this overset stuff if you can't select it.

    Have you tried adjusting the height of the row to reveal the over set text?
    Or try placing your cursor in the cell in question and just hit the delete key...Sometimes invisible characters like column break can be accidently added.
    Or perhaps, highlighting the entire row and hit the backspace key.

  • Using report generation toolkit and MS Word

    How do I insert data using bookmarks, using an array output for my data source and match up the appropriate bookmark for each value of data? I know how to do it individually using append report text, but I would like to be able to do it from an array. Thanks

    The only tool that I have used to insert data at a bookmark was the Word Insert Object VI that is located on the Word Specific >> Advanced palette. You specify an object to insert at a specific bookmark. I am not sure if this is exactly what you were looking for, but I hope it is helpful.

  • Diadem report generation from LabView: textbox, textobject​, table

    Hello everybody,
    I'm trying to generate a report from LabView and want to use DIAdem reports as templates because they easy (I thought) to configure and design.
    Well, I managed to include several pictures and textboxes that I can fill dynamically with the information I want using the reort generation vi, but I ran into some problems when it gets into detail:
    I also need to include a bunch of statistical data in the report together with the name of the variable. e.g. it's supposed to look like this:
    testname: 

    duplicate

  • How to view a complex text in a table row in jsp?

    hi.
    I've got an array of type Option (I'm using it in DropDown list) called states and index of that array that I want to output in jsp...
    This is how the whole line looks like:
    <ui:staticText binding="#{comp.staticText4}" id="staticText4" text="#{ApplicationBean1.states[#{currentRow.value['comp.state_id']}].label}"/>
    The problem is in this code:
    #{ApplicationBean1.states[#{currentRow.value['comp.state_id']}].label}
    How to output the label property of the states array when index is stored in #{currentRow.value['comp.state_id']} ?
    best regards.
    Mike.

    Hi,
    In the bapi BAPI_MATERIAL_SAVEDATA, there is a parameter..MATERIALLONGTEXT...in which you can pass the DEL_FLAG = 'X'...to delete the long texts
    THanks
    Naren

  • Decimal delimiter and excel report generation

    Hello,
    I've a problem with the "Report Generation Toolkit" while trying to generate reports in MS Excel.
    I first select data from an Access database table. Although the database table contains information
    in string-format as well as numbers, in the first instance it'll be passed as an array of strings to the
    report generation vi's (generate easy table).
    While my computer's region settings (WinXP) are always set to german standard I now get different
    results if I on the one hand try to generate a report table in Word-format (Word Easy Table)  and
    on the other hand a report in Excel-format (Excel Easy Table).
    While all numbers are displayed correctly within the Word-table, they aren't within the Excel-table.
    Thereby (Excel-table) the numbers are converted falsely as shown below:
    0,12345 -> 0,12345 (values < 1 are displayed correctly)
    1,2345   -> 12.345 (false)
    In my opinion there's a problem with the decimal delimiter. Does anybody have an idea of how to maybe
    modify this way of working only within my application without changing my computer's region settings?
    Thanks & Greets
    Michael

    On the one hand you can configure LabView to either use the localized decimal point or not (Menu Tools-->Options->Frontpanel->Use localized decimal point), on the other hand you can format singlse strings either with or without using the localized decimal point. The VI "format sting.vi" can use the format-sting %.; or %,; to define the decimal point. (Just make a double-left click on the VI to start the format-string editor for help).

  • Error Showing While Using Report Generation ToolKit VIs

    Hi All,
               When I use report generation VIs Like Excel Easy Tables its showing following errors and i am not able to contiune using the same,
    C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\utility\NIReport.llb\Set Report Font.vi
        - LabVIEW 8.0 changed a constant that was wired to a Case structure to a hidden control to maintain compatibility with LabVIEW 7.1 and earlier.
        - LabVIEW 8.0 changed a constant that was wired to a Case structure to a hidden control to maintain compatibility with LabVIEW 7.1 and earlier.
    what might be the issue, i am using LabVIEW 8.2

    Hi,
    In
    LabVIEW 7.1 and earlier, subVIs could be kept in memory by wiring a
    constant to a Case structure and placing the subVI in a case that would
    not be executed. For example, you could wire a True constant to the
    Case structure and place a subVI in the False case of the Case
    structure, and LabVIEW would load the subVI along with the calling VI.
    However, from LabVIEW 8.0 onwards, the case structure is optimized to remove code that is not going to be executed. Changing the
    constant to a control ensures that this VI behaves as it did in LabVIEW
    7.1 and earlier. If the intent is not to keep the subVIs in memory, you
    can change this control back to a constant by right-clicking the
    control and selecting 'Change to Constant' from the shortcut menu. The
    proper way to keep a subVI in memory without calling it is to use a
    Static VI Reference.
    Good Luck!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • Excel report generation error

    Hi,
    Does anyone have experienced (and solved) this behaviour?
    I've been using the report generation toolkit to build word report without
    problem. I've also solved a lot of problems in the excel part of the toolkit
    (e.g. building graphs with >20000 points). It finally works in development
    environment.
    Now when I install the executable (, with the installer) the word reports
    still work, but the excel report don't. The executable does run on a
    different system, but the excel versions are the same (both Excel 2000).
    I have copied the excel library in the data directory of the executable.
    The following error is generated:
    -2147319784
    Old format or invalid type library
    Excel_Open.vi
    This is the first report generation vi that is called. I us
    e it to open a
    template.
    Any help is appreciated.
    Wiebe.

    Hi,
    Surfing the internet, I found this comment:
    *Start quote*
    Sometimes you'll find that a parameter is required that isn't mentioned
    anywhere in the application's documentation. This happens when you need to
    specify system information: the chief example of this is the lcid, which is
    a locale identifier, and which pops up all over the place in Excel. The good
    news is that there is a constant in the Windows unit which provides you with
    the correct value, LOCALE_USER_DEFAULT:
    var
    lcid: integer;
    begin
    lcid := LOCALE_USER_DEFAULT;
    Excel.Visible[lcid] := True;
    There's also a function, GetUserDefaultLCID, but using that value can cause
    an error, complaining about an 'old format or invalid type library' on some
    setups. Using LOCALE_USER_DEFAULT for the
    LCID value should fix that.
    *End quote*
    Could this be the problem?
    Regards,
    Wiebe.
    "Wiebe@AIR" wrote in message
    news:3e79a3aa$0$140$[email protected]..
    > Hi,
    >
    > Does anyone have experienced (and solved) this behaviour?
    >
    > I've been using the report generation toolkit to build word report without
    > problem. I've also solved a lot of problems in the excel part of the
    toolkit
    > (e.g. building graphs with >20000 points). It finally works in development
    > environment.
    >
    > Now when I install the executable (, with the installer) the word reports
    > still work, but the excel report don't. The executable does run on a
    > different system, but the excel versions are the same (both Excel 2000).
    >
    > I have copied the excel library in the data directory of the executable.
    >
    > The following error is generated:
    >
    > -2147319784
    > Old format or invalid type library
    > Excel_Open.vi
    >
    > This is the first report generation vi that is called. I use it to open a
    > temp
    late.
    >
    > Any help is appreciated.
    >
    > Wiebe.
    >
    >

  • Report Generation Toolkit Table Row Height-MS Word

    I am having trouble setting the table row height in the report generation toolkit. I can set the column width fine, but the row height seems to remain the same no matter what I set it to. I have attached the VI that generates and formats the table, and the printout it is resulting in. I have also attached the template file I am using.
    Any tips to get this to work right? I am trying to make the cells exactly the same height as the text inside. 
    Solved!
    Go to Solution.
    Attachments:
    AddMarkersToReport.vi ‏20 KB
    badFormatting.pdf ‏179 KB
    splitter.docx ‏13 KB

    Hi,
    So I tried .2  and it didn't work.  So I went to Word to manually change it, and it did not work either.  There is a selection box in word, for the table properties, that seems to default to the value "at least".  When I changed this manually to "exactly" in word, no problem with the .2 manually in Word.
    Hopefully this can be set within the template, for all new inserted tables.  I'm not sure the report generator VI's expose this property.  Well, this is a start for the issue.
    Edit ****
    You can go into the add table VI and expose the property.  See pic.   However, you have to decide if you want to "upgrade" this VI permanently to expose this property or make a copy with the property exposed.   I haven't messed with the new class reports too much, so not sure of the ins and outs with this.
    I think this is the issue with the row size becoming smaller.
    Mark Ramsdale

  • Using Word Easy Table Under Report Generation takes long time to add data points to table and generate report

    Hi All,
    We used report generation tool kit to generate the report on word and with other API 's under it,we get good reports .
    But when the data points are more (> 100 on all channels) it take a long time  to write all data and create a table in the word and generate report.
    Any sugegstions how to  make this happen in some seconds .
    Please assist.

    Well, I just tried my suggestion.  I simulated a 24-channel data producer (I actually generated 25 numbers -- the first number was the row number, followed by 24 random numbers) and generated 100 of these for a total of 2500 double-precision values.  I then saved this table to Excel and closed the file.  I then opened Word (all using RGT), wrote a single text line "Text with Excel", inserted the previously-created "Excel Object", and saved and closed Word.
    First, it worked (sort of).  The Table in Word started on a new page, and was in a very tiny font (possibly trying to fit 25 columns on a page?  I didn't inspect it very carefully).  This is probably "too much data" to really try to write the whole table, unless you format it for, say, 3 significant figures.
    Now, timing.  I ran this four times, two duplicate sets, one with Excel and Word in "normal" mode, one in "minimized".  To my surprise, this didn't make a lot of difference (minimized was less than 10% faster).  Here are the approximate times:
         Generate the data -- about 1 millisecond.
         Write the Excel Report -- about 1.5 seconds
         Write the Word Report -- about 10.5 seconds
    Seems to me this is way faster than trying to do this directly in Word.
    Bob Schor

  • Labview 2013 report generation toolkit word 2010 insert table problem

    Hi,
    I am currently evaluating LV2013 with respect to the report generation toolkit for use with word 2010. My Vi/program won't insert the correct table and gives me an error message. see below:-
    Exception occured in Microsoft Word: The requested member of the collection does not exist.Help Path is wdmain11.chm and context 25421 in NI_ReportGenerationToolkit.lvlib:Word_Insert_Table​.vi->NI_Word.lvclass:Append Text Table to Report.vi->Word Table save.vi
    I have since run the following word example.vi provided by NI within LV2013 office examples:- Growable table.vi. this gives me the same error!
    Exception occured in Microsoft Word: The requested member of the collection does not exist.Help Path is wdmain11.chm and context 25421 in NI_ReportGenerationToolkit.lvlib:Word_Insert_Table​.vi->NI_Word.lvclass:Append Text Table to Report.vi->Growable table.vi
    It would seem that regardless of my own Vi there is a fundamental problem in the office example vi.
    I have found examples of a similar problem in LV2011/2012 but the work around code doesn't seem to match the LV2013 vi's code for a direct replacement.
    Can anyone help/shed some light on this? 
    Thanks in advance,
    Dan.

    Because the upgrade of Word from 2007 to 2010 I needed to upgrade an existing application from LabVIEW 2009 to 2013. This didn't work because of the insert table error. I discovered that the problem is the vi called "Word_Insert_Table.vi" located in the ..Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\addons\_office\_wordsub.llb. There is a "Cut" command implemented, this command removes the created cell instead of clearing it. Therefore the table will be filled half and then returnes with an error. I have removed this command. I have posted the changed vi (LV 2013).
    Attachments:
    Word_Insert_Table.vi ‏30 KB

  • How to obtain the table index in word use LabVIEW Report Generation Toolkit for Microsoft Office

    I created a word templete and it had several tables. When I use the "Word Edit Cell" function in LabVIEW Report Generation Toolkit for Microsoft Office, the function need "table index", and I didn't find any function to get or set the table index in word document. How can I achieve my attention to write value to specified table cell using the "Word Edit Cell" function?
    Thanks for reply!
    YangAfreet

    Hi yangafreet
    You do not need to get the table index for the word edit cell.vi from anywhere. LabVIEW will automatically index all the tables in the document. See the attatched vi for an example.
    Rich
    Attachments:
    Table Edit.vi ‏23 KB

  • Report Generation Toolkit: Table of Contents in MS Word

    Hello forum users,
    I would like to add a table of contents to a MS Word document, using the Report Generation Toolkit.
    I couldn't find a VI in the toolkit that does that, so I tried to modify the VI "Word Insert Field.vi". Doing so, I could access a property node of the class "Word._Document"  and an invoke node of the class "Word.TablesOfContents" with the method "Add".
    As this modified VI does not belong to the private LabVIEW class "NI_Word.lvclass", it is not possible to unbundle the (type cast) "report in" wire to get the "Word._Document" class reference. I can't add the modified VI to the NI_Word class either, because it is password protected.
    There are so many methods and properties that are not used in the official Report Generation Toolkit, like this one. How can I access them?
    Or maybe there is another way to add a table of contents to a MS Word document (programmatically). Maybe I have to use a template. I rather wouldn't, though.
    Operating System: Windows 7 64bit
    LabVIEW: 2009 [9.0 (32bit)]
    Report Generation Toolkit: 2009
    MS Office: 2003 SP1
    Thank you for reading an answering.
    Solved!
    Go to Solution.
    Attachments:
    Word_Insert_TOC.png ‏68 KB

    Hello again,
    in the "Word Specific" > "Word Advanced" Palette of the Report Generation Toolkit, there is a VI called "Word Get ActiveX References" which essentially unbundles the private "report" data stream / wire. Thus, I can use the property and invoke nodes that make use of the "Add TablesOfContents" method.
    I hope, that helps other users as I didn't find too many topics on Report Generation. Maybe it's just too easy...
    Attachments:
    Word_Insert_TOC_fix.png ‏60 KB

Maybe you are looking for

  • Why does this work in MS SQL and not in Oracle

    ALTER TABLE Stk DROP COLUMN ComCode; This BASIC statement works perfectly in MS SQL, but after 2 hours now, it simply refuses to work in Oracle, although the syntax seems correct, I get : ALTER TABLE Stk DROP COLUMN ComCode ORA-00905: missing keyword

  • Ilearning Course Structure

    Hi, I was wondering if I could get some help on extracting course/session information from the ilearning schema. We have in ilearning a number of courses which have nested levels of categories/folders followed by offerings i.e the scorm item. The dat

  • Safari will not launch OS X 10.3.9

    I updated my OS to 10.3.9 thru system update on my mac mini. now safari will not launch. I have tried most of the suggestions in this discussion but it still does not work. Help!

  • AAA Authorization with DAP

    When forcing a tunnel-group to authorize users against an AAA server-group with a corresponding ldap attribute-map in that AAA group, does that mapping of usergroup->group-policy get passed up to the DAP process?

  • Gateway could not start

    we had installed 2005q4m3 sp1 and new gateway. I did gateway -i to install and gateway -s to start the gateway and got this error. C:\Program Files\SunIdentityManager6\gateway>gateway -i 06/05/2007 10.54.24.021000 [14356] (../../../../src/wps/agent/l