Report generation issue with a hut

Hi,
I hav an issue using report generation my report is using huts and I i'm writting true or false value in excel case, which is linked with the hut but writting the value in the linked case does not change the hut value.
Thanks
Olivier

Hi Olivier,
I was wondering if you could expand on what the overall goal for your application is.  Also I am not familiar with huts, could you explain what these are?
Eric A.
National Instruments
Distributed I/O Product Support Engineer

Similar Messages

  • Dynamic crystal report generation - issues with column headings

    Hi All,<br>
    I'm trying to generate a crystal report dynamically based on a "result set" data(Query: select REPORT_ID, REPORT_NAME, REPORT_DESC, RPT_FILE_NAME, LOCATION from IRS_REPORT_DETAILS). I'm able to generate the report run time, But the report is without columns heads. I would like to include the column headings as well. <br><br>
    I searched the API(RAS) and found that there is a 'add(java.lang.String fieldName, java.lang.String headingText) " method present in "ReportObjectController" using which we can add the headings.<br><br>
    ReportDefController reportDefController = clientDoc.getReportDefController();
    ReportObjectController reportObjectController = reportDefController.getReportObjectController();
    reportObjectController.add( "{Table.Field}", "FieldName" );
    <br><br>
    I'm facing problems in using this code. When trying to use this function for my fields(Ex: reportObjectController.add( "{ IRS_REPORT_DETAILS.REPORT_ID}", "Report ID" );) it is giving me the following error:<br><br>"com.crystaldecisions.sdk.occa.report.lib.ReportSDKGroupException: The field was not found.---- Error code:-2147213310 Error code name:fieldNotFound"<br><br>
    <b>The following is my dynamic crystal report generation code:</b><br><br>
    public ReportClientDocument execute(String repName, String query) {
              ReportClientDocument boReportClientDocument = null;
              try {
                   boReportClientDocument = new ReportClientDocument();
                   boReportClientDocument.newDocument();
                      // Add a table based on the given Resultset to the report.
                   dbConnResultSet mySampleResultSet = new dbConnResultSet();
                   //mySampleResultSet.execute(query);
                   boReportClientDocument.getDatabaseController().addDataSource(
                             mySampleResultSet.execute(query));
                   IReportSource test = boReportClientDocument.getReportSource();
                   // Access all the database fields
                   DatabaseController databaseController = boReportClientDocument
                             .getDatabaseController();
                   IDatabase database = databaseController.getDatabase();
                   Tables tables = database.getTables();
                   ITable table = (Table) tables.getTable(0);
                   int NO_OF_FIELDS = table.getDataFields().size();
                   int LEFT_POSITION = 200;
                   // Add all the database fields to the report document
                   for (int i = 0; i < NO_OF_FIELDS; i++) {
                        IField field = table.getDataFields().getField(i);
                        FieldObject fieldObject = new FieldObject();
                        fieldObject.setFieldValueType(field.getType());
                        fieldObject.setDataSource(field.getFormulaForm());
                        IReportObject rep = (IReportObject) fieldObject;
                        IObjectFormat objformat = rep.getFormat();
                        objformat.setEnableCanGrow(true);
                        objformat.setHorizontalAlignment(Alignment.from_int(1));
                        rep.setFormat(objformat);
                        rep.setLeft(LEFT_POSITION);
                        rep.setWidth(1000);
                        LEFT_POSITION = LEFT_POSITION + 1000 + 50;
                        ISection section = boReportClientDocument
                                  .getReportDefController().getReportDefinition()
                                  .getDetailArea().getSections().getSection(0);
                                   //***************** Data being added to the report here, But headings are not added*****************
                        boReportClientDocument.getReportDefController()
                                  .getReportObjectController().add(rep, section, i);
                   boReportClientDocument.createReport();
                   /*Some report saving code is present down*/
              } catch (ReportSDKException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              return boReportClientDocument;
    <br><br>
    appreciate your help.

    IField field = table.getDataFields().getField(i);
    Here you are getting the first field in the array.  This may not be the field you want to add since we aren't sure how the arrays are ordered when retrieving fields from the report.  It is better to retrieve the fields with the findObjectByName method, thus ensuring you are retrieving the field you want to add to your heading.

  • EOS / EOL / PSIRT report generation Issue

    HI All ,
    I am using lms 3.2 with RME 4.3.0
    Recently i have seen 2 bugs related with EOS/EOL /PSIRT report generation issue
    CSCta76147
    CSCtc36563
    The status of the bug is given as  Fixed(verified )
    Status
    Fixed
    (Verified)
    Severity 3 - moderate
    Last Modified
    In Last Year
    Product
    CiscoWorks Resource Manager Essentials
    1st Found-In
    4.1
    4.3
    Fixed-In
    5.0
    Component(s)
    eoxpsirtreports
    Here the fixed release is given as 5.0 , can anyone please tel me where to get the 5.0 version for download .
    ( Is the 5.0 the LMS version or the RME version  )
    When i am trying to generate EOS/EOL report,  i am getting error saying check the connectivity to cisco .
    Regards
    Angus

    HI Afroj ,
    When i am running the EOS/EOX or PSIRT report the job status is showing running but its not getting stoped .
    I tried using the local option  , downloaded the offline file from the below link and  placed in
    NMSROOT\files\rme\jobs\inventory\reports\EOX_PSIRT\local_xml
    "http://tools.cisco.com/support/downloads/go/ImageList.x?relVer=4.1.1&mdfid=282635175&sftType=CiscoWorks+Resource+Manager+Essentials+Patches&optPlat=Solaris&nodecount=2&edesignator=null&modelName=CiscoWorks+Resource+Manager+Essentials+4.3&treeMdfId=268439477&treeName=Network+Management&modifmdfid=&imname=&hybrid=Y&imst=N&lr=Y
    even then the job is running continuously its not stopping .
    I have a RME version 4.3.0
    Kindly let me know what i am doing is correct .
    Regards
    Angus

  • Link to report an issue with Podcast update

    Someone posted a link so we could report an issue with the Podcast app the last time there were issues with an upgrade.
    I sync with my laptop iTunes. Since this latest update to the app, when I delete a podcast in iTunes on my laptop it will not delete on my i devices during a sync with my laptop. It just grays them out and leaves them on my device. It looks like I can manually delete them, but when you click the edit function to delete them, they are no longer grayed out, so you can't tell which to delete and which to keep.
    I don't do anything with the cloud, because I have limited wifi service and do most of my updating at a free wifi hotspot.
    If someone has that online link on where to report issues, I would appreciate you posting it again and this time I will save it.

    To Contact the Mac App Store Customer Service:
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    To Contact iTunes Store Customer Service:
    Apple - Support - iTunes Store - Contact Us

  • Report generation issue

    what are the diff report generation issues?

    Nvm, solved it just had to set up Reporting studio in order to create an accurate report.

  • Report generation toolkit with openoffice

    hello all
    i would like to know if it is possible to use the report generation toolkit with openoffice instead microsoft office? because i do not have the toolkit already i can't test it and i will only buy it if this is possible...
    i ask also because i used another application with word export not long ago what was ending with the error message "windows ole server not found". so the question is if something of the microsoft product line is necessary? i am quite sure that the opening of a produced doc would be possible in openoffice without problems - at least i hope so!
    only one thread i found, unfortunately in french : http://forums.ni.com/ni/board/message?board.id=4170&message.id=13060&query.id=139594#M13060
    thanks a lot, mischl

    Another option to consider is to use the report generation VIs that ship with LV and simply output to a PDF document rather than a hardcopy printer.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Report generation toolkit with excel 97 Graphing issue

    I am trying to set-up mu data output to use the report generation Vis. However I am running into a problem when trying to update 2 graphs on the same sheet in Excel.
    My set-up is:
    Windows XP
    Office 97
    LabVIEW 7.1.1 with the Office toolkit installed
    I noticed that I can write to the first Graph and update it without issues, but once I try to update the second I get error -41105 stating that MSGraph is not installed.
    I did notice that if I set a break point between the Excel Quit Graph.vi and Excel Update Graph.vi if I click the mouse within excel in removes the highlight border from the first graph, the I continue and it works fine. For some reason LabVIEW is not releasing that Graph to be able to select another.
    I tried to write data to a cell after quiting the graph and then selecting the second graph but that is not working either although it does work manually.
    Next I may try a Macro but I would rather not have to do that.
    Any suggestions?
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Well after some debugging I found it. Apparently for Excel 97 only there is a problem that when you qiut MSGraph it may not save properly so the VI had the Quit Property removed.
    I have added it into my code and it seems to work and will see how well it does and if I run into any problems.
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

  • Issue in BIP Report Generation - Issue gets fixed when the rtf is opened and re-saved

    Hi,
    We are facing a unique case in BIP reports generation at a Customer site. The BIP installed is a part of the OBIEE 11g installation. The customer report generates most of the times, however there are instances where we get a techinical details error ( custom error ) -  The only way to 'fix' this issue currently is to open the rtf file, hit the spacebar and save this file ( ie re-save this file ) and the report starts to generate correctly again for
    Has anyone else faced such a problem ?
    Also, not sure if this helps - the corresponding xdo has nested tags
    Thanks in Advance
    Orjun - Oracle Financial Services

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Can't print to Epson TM-U590 Slip Printer from Report Generation Toolkit with LabVIEW 8.6.1

    Hi all,
    I have an application that uses the Report Generation Toolkit to print tickets to a docket printer.  Usually this works fine - I have 8 existing installations where there are no problems
    I'm currently installing the software at a new site that uses an Epson TM-U590 slip printer and I can't for the life of me get printing to work
    Using a Standard Report, the Print Report.vi returns error -41002 which indicates it can't find the printer.  I've opened up the VI using remote debugging and it does find the printer name correctly with the Query Available Printers.vi.  It gets an error code -2147352567 from the Printout node, which then gets replaced with the -41002 error which is reported.
    For historical reasons I'm still using LabVIEW 8.6.1 for this project.  I'm considering moving to 2011 or 2012 but I've had reliability issues with other parts of the application after attempting to update to a newer LabVIEW version so I'd like to avoid that at this stage.
    The application is running on a standard desktop PC with Windows 7.  The slip printer works fine if I print to it from Notepad, and my application is happy to print to any other printer, just not the slip printer.
    The slip printer is using the LPT port.  Previously the docket printers I've used have been USB but I would expect the printer driver to hide this detail from the application...
    Any ideas would be much appreciated
    Cheers
    Brett
    Senior Software Development Engineer
    Certified LabVIEW Architect and LabVIEW Champion
    Solved!
    Go to Solution.

    I've managed to sort out the problem, thanks to this KB article: http://digital.ni.com/public.nsf/allkb/67D60209102E2161862568AC0074BF64
    I'm now having the same issue with a Star docket printer (a TUP592), this time with another program developed in LabVIEW 2011.
    As mentioned in the article, the problem is actually to do with the margin settings rather than the printer name, despite what the error message says
    After some experimentation, I've gotten the Star printer to work by setting a large (>14cm) right margin.  No idea why this is required as it seems to print right up to the right edge of the paper quite happily, but there you go.
    So I haven't defintely fixed the original problem yet as I haven't gotten back to the site, but hopefully this will be of some help to someone else.
    Cheers
    Brett
    Senior Software Development Engineer
    Certified LabVIEW Architect and LabVIEW Champion

  • Report Generation Toolkit with Excel 2003 and Excel 2000

    Hello,
    I'm using the Report Generation Toolkit to generate an Excel report from an Excel template.
    The "NI_Excel.lvclass" is included in the "source" section of the application builder options.
    I create an exe file on  a PC where Excel 2003 is installed. On a Notebook, where only Excel 2000 is installed, the application crashes at the generation of the report:
    I guess the problem is the different version of Excel but I don't know. On the developer PC with Excel 2003 it works fine.
    In this document it's only talked about different Word versions.
    How can I use the Report Generation Toolkit here?
    I'm using it that way:
    Regards

    Oh, it seems that the Report Generation Toolkit "only" supports Excel XP/2003/2007.
    I think, that's the problem.

  • Arabic PDF Report generate issue with Arabic Letters

    Hi
    I have an issue with Arabic PDF report,its display Junk characters,
    where as English PDF report is working fine and Arabic Text report is working fine.
    I need help to fix the above issue.

    970649 wrote:
    Hi
    I have an issue with Arabic PDF report,its display Junk characters,
    where as English PDF report is working fine and Arabic Text report is working fine.
    I need help to fix the above issue.Please post the details of the application release, database version and OS along with the database characterset.
    Please see these docs/links.
    Fonts Displayed As Junk Characters In PDF Report Output [ID 1218354.1]
    How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
    Arabic Data Appears As Junk , Currently using Forms Patchset 16 & XML [ID 755786.1]
    Why Printer Print Junk characters when printing rtf Bi Publisher Report Out Put? [ID 1497767.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=PDF+AND+Junk&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Report generation fails with below error

    Hi Friends,
    This is an extarct from "ccat /var/opt/SUNWsymon/PRM/log/prm.log"
    Report generation fails for individual host but succeeds for all hosts.
    prmlog September 13, 2010 12:52:14 PM Thread-287: Begin loading files
    prmlog September 13, 2010 12:53:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:53:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:56:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: scp-2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: creature-t1000-08: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: sdp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: psp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: shissun1: Report request generation failed.
    prmlog September 13, 2010 1:00:05 PM Thread-294: Report successfully posted to web server.
    prmlog September 13, 2010 1:01:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 1:03:54 PM HandlerThread-0: Got trap: 2
    In /tmp directory I could see database logs directory (/tmp/SunMCDBLogFiles)
    Below is an extarct from "db-start-sql.log"
    ERROR: table "summ_temp_events" does not exist
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    WARNING: there is already a transaction in progress
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (21)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (26)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (25)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (42)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (1)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    Kindly suggest me.. This SUNMC is doing more than killing.
    Thanks
    Srini

    I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
    Thanks for the advice.
    Mike

  • Report generation issue for headcount/workforce

    Hi,
    I have succesfully deployed my capex, workforce, and C/F application. I was wondering if someone could help me with the creation of a head count report based on this data where I could see the Dept Code, Name, Salary in a report. I have gone through the process of creating a report in Dataform with the dimensions but I am unable to see all the dimensions listed. I do have access to both smart view + financial reporting studio.
    Thanks

    Nvm, solved it just had to set up Reporting studio in order to create an accurate report.

  • Oracle Report Server Issue with Japanese Characters

    We are trying to setup a Oracle Report Server to print the Japanese characters in the PDF format.
    We have separate Oracle Report servers for printing English, Chinese and Vietnamese characters in PDF formats using Oracle Reports in the production which are running properly with Unix AIX version 5.3. Now we have a requirement to print the Japanese characters. Hence we tried to setup the new server for the same and the configurations are done as same as Chinese/Vietnamese report servers. But we are not able to print the Japanese characters.
    I am providing the details which we followed to configure this new server.
    1.     We have modified the reports.sh to map the proper NLS_LANG (JAPANESE_AMERICA.UTF8) and other Admin folder settings.
    2.     We have configured the new report server via OPMN admin.
    3.     We have copied the arialuni.ttf to Printers folder and we have converted this same .ttf file in AFM format. This AFM file has been copied to $ORACLE_HOME/guicommon/gk/JP_Admin/AFM folder.
    4.     We have modified the uifont.ali (JP_admin folder) file for font subsetting.
    5.     We have put an entry in JP_admin/PPD/datap462.ppd as *Font ArialUnicodeMS: Standard "(Version 1.01)" Standard ROM
    6.     We have modified the Tk2Motif.rgb (JP_admin folder) file for character set mapping (Tk2Motif*fontMapCs: iso8859-1=UTF8) as we have enabled this one for other report servers as well.
    Environment Details:-
    Unix AIX version : 5300-07-05-0831
    Oracle Version : 10.1.0.4.2
    NLS_LANG : JAPANESE_AMERICA.UTF8
    Font Mapping : Font Sub Setting in uifont.ali
    Font Used for Printing : arialuni.ttf (Font Name : Arial Unicode MS)
    The error thrown in the rwEng trace (rwEng-0.trc) file is as below
    [2011/9/7 8:11:4:488] Error 50103 (C Engine): 20:11:04 ERR REP-3000: Internal error starting Oracle Toolkit.
    The error thrown when trying to execute the reports is…
    REP-0177: Error while running in remote server
    Engine rwEng-0 crashed, job Id: 67
    Our investigations and findings…
    1.     We disabled the entry Tk2Motif*fontMapCs: iso8859-1=UTF8 in Tk2Motif.rgb then started the server. We found that no error is thrown in the rwEng trace file and we are able to print the report also in PDF format… (Please see the attached japarial.pdf for your verification) but we are able to see only junk characters. We verified the document settings in the PDF file for ensuring the font sub set. We are able to see the font sub setting is used.
    2.     If we enable the above entry then the rwEng trace throwing the above error (oracle toolkit error) and reports engine is crashed.
    It will be a great help from you if you can assist us to resolve this issue…

    Maybe 7zip or another tool has workarounds for broken file names, you could try that.
    Or you could try to go over the files in the zip archive one-by-one and write it to files out-1, out-2, ..., out-$n without concerning yourself with the file names. You could get file endings back via the mimetype.
    This script might work:
    #include <stdio.h>
    #include <zip.h>
    static const char *template = "./out-%04d.bin";
    int main(int argc, char**argv)
    int err = 0;
    zip_t *arc = zip_open((const char*)argv[1], ZIP_RDONLY, &err);
    if(arc == NULL)
    printf("Failed to open ZIP, error %d\n", err);
    return -1;
    zip_int64_t n = zip_get_num_entries(arc, 0);
    printf("%s: # of packed files: %d\n", argv[1], n);
    for(int i = 0; i < n; i++)
    zip_stat_t stat;
    zip_stat_index(arc, i, ZIP_FL_UNCHANGED, &stat);
    char buf[stat.size];
    char oname[sizeof(template)];
    zip_file_t *f = zip_fopen_index(arc, (zip_int64_t)i, ZIP_FL_UNCHANGED);
    zip_fread(f, (void*)&buf[0], stat.size);
    snprintf(&oname[0], sizeof(template), template, i);
    FILE *of = fopen(oname, "wb");
    fwrite(&buf[0], stat.size, 1, of);
    printf("%s: %s => %lu bytes\n", argv[1], oname, stat.size);
    zip_fclose(f);
    fclose(of);
    zip_close(arc);
    return 0;
    Compile with
    gcc -std=gnu99 -O3 -o unzip unzip.c -lzip
    and run as
    ./unzip $funnyzipfile
    You should get template-named, numbered output files in the current directory.
    Last edited by 2ion (2015-05-21 23:09:29)

  • Report painter issue with displaing a month budget

    Hi,
    I have a problem with making report in report painter.
    I want to display a month budget of cost element for the one particular cost center.
    For example: Iu2019ve putted two characteristics in one row, a set (which contains cost element number) and cost center. In column Iu2019ve placed these characteristics : period, value type and fiscal year.
    The main issue is that the report displays only u201C0u201D even when there are some assets on that cost element for that cost center.
    Of course when I remove characteristic u201CCost Centeru201D from a row, I will see some non u201C0u201D values in my report. I used CCSS table in my report and KSTAR field in the set.
    How can I make report showing assets for cost elements for a particular cost centers? Of course I would like to have more than one such u201Ccost elementu201D-u201Ccost centeru201D pair in my report.
    Regards,

    Solved

Maybe you are looking for

  • How do I add playback control to a .swf file in Director 11.5 (PLEASE HELP!)

    Hi, I am currently trying to add controls (play/stop/etc) to a .swf file within Director 11.5. The movie imports fine and plays perfectly, however there does seems to be built in options to add the control in the same way you would for a .mov. The .s

  • Creating alias for Web access to SQL Server Reporting Services

    Hello colleagues. I have MS SQL Server 2012 with SQL Server Reporting Services in domain "domain.local". In the local network at the entrance via Web browser to "mdr.domain.local/Reports" get into Reports of SQL Server Reporting Services and it's wor

  • How to install eclipse and MyEclipse and use it for jsp-servlet-web service

    hi , please help me to install eclipse 3.1 and How to integrate MyEclipse to do jsp-servlet programming and web services. please also help me to include application server like tomcat and axis and use that environment in MyEclipse ide. please help me

  • Exporting text files with wide row lengths

    Post Author: stingray454 CA Forum: Exporting I'm using Crystal Reports v 9.2, and I'm trying to export a report to an ASCII text file that needs to have very wide rows of data, up to 420 characters long (wide) on each row.  This report will never be

  • Date difference

    I have Two date columns with date datatype. I want to find the difference in seconds. I am using below query to find the difference in seconds. problem is with the result of the query. trunc(86400*(order_conf_timestamp-order_rec_timestamp))-60*(trunc