How can I modify column width in a spreadsheet report without using an Excel template

I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
My questions are:
Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
Thanks!
-Danny

Sure, I'll provide a pared down example that demonstrates my use-case:
I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
-Danny

Similar Messages

  • How can I set column width in JTable?

    How can I set column width in JTable?

    Also, read the JTable API before posting questions. You will find a link to the Swing tutorial on "How to Use Tables", which contains an example of doing exactly this.

  • I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.

    I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.??

    You can find the backup files and then copy them to a safe place if you are worrying about this.
    iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.

  • How can I transfer contacts from my Iphone to ipad without using a computer?

    How can I transfer contacts from my Iphone to ipad without using a computer?

    The easiest method is to setup an iCloud account, turn on Contacts syncing in Settings > iCloud on both devices, and the Contacts from the iPhone will sync to the iPad.

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • Best way to move photos from iPad to Mac?  I have a card reader foriPad and used it on a recent vacation to put pics on iPad.  How can I now move them to Mac?  Preferably without using iPhoto.

    Best way to move photos from iPad to Mac?  I have a card reader for iPad and used it on a recent vacation to put pics on iPad.  How can I now move them to Mac?  Preferably without using iPhoto.

    With iPhoto or with the Image Capture application.

  • Creating table in MS Word document via OLE: how can I specify column width

    What method and properties do I need to use in order to specify the width of each column in a MSWord table created via ABAP using OLE ?  Or, better yet, how can I create a table where the columns are sized using the Autofit feature?
    I am already familiar with the standard sample code for creating a word document that contains a table (found in ZOLE_WORD_DOC_CREATE).
    Tom Eshelman

    I found a solution - although I would still be interested if anyone knows how to turn on autofit when creating a table,  The following code can be used to specify the width of one cell at the same time it is filled with data.  I found this in an old SDN posting.
    FORM write_cell_in_table  USING    p_row
                                       p_col
                                       p_text
                                       p_font
                                       p_size
                                       p_bold
                                       p_color
                                       p_width
                                       p_underline.
                                      P_ALIGNMENT.
      DATA: l_len TYPE i.
      l_len = STRLEN( p_text ).
      IF l_len IS INITIAL.
        l_len = 1.
      ENDIF.
    *--Getting cell coordinates
      CALL METHOD OF gs_table 'Cell' = gs_cell
      EXPORTING : #1 = p_row "first row
                  #2 = p_col. "first column
    *--Getting the range handle to write the text
      GET PROPERTY OF gs_cell 'Range' = gs_range .
      IF p_width > 0 AND l_len > 1.
        SET PROPERTY OF gs_cell 'PreferredWidth' = p_width.
      ENDIF.
    *--Filling the cell
      GET PROPERTY OF gs_range 'Font' = gs_font .
      SET PROPERTY OF gs_font 'Name' = p_font .
      SET PROPERTY OF gs_font 'Size' = p_size .
      SET PROPERTY OF gs_font 'Bold' = p_bold . "Not bold
      SET PROPERTY OF gs_font 'Underline' = p_underline . "Double line
      GET PROPERTY OF gs_cell 'Shading' = gs_shading .
      SET PROPERTY OF gs_shading 'BackgroundPatternColorIndex' = p_color.
      SET PROPERTY OF gs_range 'Text' = p_text(l_len) .
    ENDFORM.                    " write_cell_in_table

  • How can I obtain column subtotals in a spreadsheet already sorted by catagory. Using version 3. Was fairly straight forward in previous version.

    How can I obtain numeric subtotals in a spredsheet already sorted by catagory? Am using version 3. This process was fairly straight forward in previous versions.

    SUMIF or SUMIFS function?

  • TS1930 How can I copy photos from my iPod to computer without using iPhoto or Image Capture? I have Windows 7..

    I was wondering, how can I transfer my photos from my iPod to my computer (not a Mac) ? I know you can do it with music because I have done before, so can you do the same with photos? In affect using the iPod as an external hard drive.. Thanks for all your help!!

    The photos you synced to your iPod through iTunes are no longer in their full resolution, but instead are scaled down thumbnails of those photos.  So if you do manage to get them off your iPod, they will be quite small in size compared to the original ones you lost.
    In order to get them off of your iPod, you'll need the help of some sort of 3rd party software. Here is one option.
    http://www.macroplant.com/podtopc/
    B-rock

  • How can I copy and paste a long page here without using email?

    How can I copy and paste a long page without using email?

    Thanks for replying. Actually I want to copy/paste a recipe from a website so I can keep the recipe. On p 39 it tells how to copy/paste, which I do a lot already, but it doesn't tell where to paste it so I can access or print it whenever I want. It's kind of a long recipe. Too long to type out. Any ideas for that?

  • How can i connect LabView to a PLC or Profibus without using OPC?

    I can access data from the PLC or through the Profibus using OPC. Unfortunately is this not fast enough since I need a faster sampling rate. Are there any faster ways to access the PLC data? I’m now using Siemens S7-300 and CP5613 with the driver S7-5613.

    Hi Boris.
    This tip can be very helpful to me, tanks!
    Best regards, Martin

  • How can I modify the Stile of a String-Indicator (without the Frame)?

    I only want to see the Text-String on the Frontpanel,
    without the Indicator-Frame.

    Go to the Classic Controls palette, select a Simple String indicator. Then use the paintbrush tool with transparent selected (The T in the upper right hand corner of the color palette) to make the indicator transparent. The text in the indicator will still be visible, but not the indicator frame or background.

  • How can I make an image tile length of browser without using it as background image?

    I understand that if you use the rectangle tool and stretch it to the edge of the page, triggerring the red margin, the tiled image is supposed to stretch the length of the browser. Although this works for width, tiling horizontally, for some reason, it doesn't work for length, tiling vertically. When I preview my work in browser, the tiled image doesn't extend along with the footer as I scroll down the page.
    When I use the image as background fill and tile it, then it works, but I need to use a different image for the background.

    Hi
    As you have mentioned you can either use browser fill with tile fitting or design the browser background image outside of Muse using any image editor like Photoshop and then use as browser fill which would include both images the one you want to use as background image and the one that you want to use as Tile on page section.
    Thanks,
    Sanjit

  • TS1702 How can I change the payment info in my iPad without using iTunes? I want to delete my credit card from there....

    I can't find the none option

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/ht2534
    If None is not available - On your computer launch iTunes and click "iTunes Store" in the left navigation pane. Click the "down arrow" next to your name at the top right side of the page and click "Account." Enter your username and password and click "View Account" to log into your account information. Next to your Payment Type, click "Edit." Select the "None" button and click "Done." Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
    iTunes Store Accepted Forms of Payment
    http://support.apple.com/kb/HT5552
     Cheers, Tom

  • How can i set up to see large web screen without using Ctrl++ on every website i open?

    IE can set simply chossing zoom size and I can see big enough to make my eyes relaxed for a person who has eyesight problem. Is there a way to make it to see large on every website i opened? I'm sure there is a way. Please let me know.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

Maybe you are looking for

  • Can my USA iMac 2.4Ghz work on European power

    I have an iMac 2.4GHz Model A1224. We moved to Amsterdam and they of course run on European power. My iMac label states it is 100-240V range. The local Mac store has a cable that plugs into the USA 3-prong and has the European plug on the other end.

  • How do I get the Itunes Music Library to stop showing and asking me to purchase the songs I have drug in for playlist?

    How do I get the Itunes Music Library to stop showing and asking me to purchase the songs I have drug in for playlist?

  • WAN IP (or lack of)

    I ditched my old DLink router to get a shiny Linksys WRT54GX4, and got nothing but disconnects ever since. From reading these forums it seem to be a real issue with a lot of peoplewith this series of routers. Do I need to return this while I still ha

  • No apple logo shown on non-native apps

    Every time i'm running a non-native app (apps not by apple) i got no apple logo on the upper left corner, it is just an aesthetic thing yet it's really annoying, apple logo is shown for apple apps, for updated apps (openoffice, skype and few more) bu

  • Material Lock - Reg

    Hello Mates., how to find a material is locked or not that is material used by another user or any other transcation. This is because i am writing BDC for co11n where there is requirement of above mentioned case . while making entrying the manual pro