How can i use a blob field in a formula field object

Hi ,
We are using Crystal Report Server XI R2.  i have a field "ANSWER" in my datasource which stores value 1 or 0.
And i have table to store two images as blob fields are "EVALTICKIMAGE" and "EVALCROSSIMAGE".
Now i need to show an image in my report for the field "ANSWER" instead of 0 or 1.
So i written a formula to achieve this. my formula text is follows:-
  oFormulaField.Text = @"if {CSP_PROCESS_REPORT.ANSWER} = ""1"" then {EVALIMAGE.EVALTICKIMAGE} else {EVALIMAGE.EVALCROSSIMAGE} ";
but this does not works for me. i recieve an error "A blob field cannot be used in a formula".
is there any other way to show images based on a condition.
or is that possible to use blob fields formulafield, kindly help me.
Thanks,
Padmanaban V

You can use conditional suppression instead.
Place both image fields on the report. Right click the 1st image field (EVALIMAGE.EVALTICKIMAGE) and choose Format Graphic and make sure the Format Editor is on the Common Tab.
Click the x-2 button across from Suppress and enter the following formula:
IF({CSP_PROCESS_REPORT.ANSWER} = 1 THEN FALSE ELSE TRUE
For EVALIMAGE.EVALCROSSIMAGE, do the same thing except change the formula to:
IF({CSP_PROCESS_REPORT.ANSWER} = 0 THEN FALSE ELSE TRUE
Once that's done, you can set one image directly on top of the other.
HTH,
Jason

Similar Messages

  • How can I use an activeX component that has no creatable objects

    I have got an activeX component that I want to use with LabVIEW. When I want to access that activeX component via LabVIEW I see no creatable objects from that component. If I select one of the non creatable objects, everything seems to be fine and I can build my application. I can see all properties and methods of the object as expected. But when I start the application it fails with error 3005 saying 'object specified is not creatable...'. Does anyone know a solution for this problem?
    Thanks
    Rainer

    Did you ever resolve your problem?
    I am having exactly the same problem. I want to use labview 7.0 to control a 3rd party's application (which controls a lab instrument). I can see all the methods and properties I need, but only if I uncheck "show creatable objects only" on the relevant type library.
    I have a working visual basic (as an xls macro) example of how to control the 3rd party application and it uses the non-creatable objects quite happily.
    But in the VB example VB first uses GetObject to connect to a running instance of the 3rd party's application using GetObject. As I understand it, this checks the Running Object Table (ROT) to return an interface pointer.
    "COMNAME" in the GetObject (, COMNAME) used in the VB application I can see listed in the Windows registry, but cannot find it (and I have looked!) anywhere in the "select object from type library" navigation dialog window.
    I think it is because they are dependant objects, but how to I generate an automation refnum for them if I can't find the higher level object? Perhaps I should use CINs?

  • How can i use RemoteObject without mxml?

      hi:
       in my flex project , i use blazeds + puremvc , so i want to put my business code in actionscript as proxy to communicate with java code, the proxy code like :
    public function requestServer(page:PageInfo):void{
       userServiceRM = new RemoteObject();
       userServiceRM.destination="userService";
       userServiceRM.getsimpleList();
       var pageResult :Object= userServiceRM.getsimpleList.lastResult;
       sendNotification(UserStartupCommond.USERLIST_GOT,pageResult );
    but i have a problem that pageResult is a  null value .(the Configuring and the server side have no problem .)
    how can i use RemoteObject without mxml?
     thanks.

    Hi. Remote object calls are asynchronous so you can't access the result immediately after making the call. You need to wait until the server returns the result. There are a couple ways to set this up. Probably the easiest thing to do is to add an event listener that will be called when the result comes back from the server. Here is what that would look like.
    public function requestServer(page:PageInfo):void {
    userServiceRM = new RemoteObject();
    userServiceRM.destination="userService";
    userServiceRM.addEventListener("result", resultHandler);
    userServiceRM.addEventListener("fault", faultHandler);
    userServiceRM.getsimpleList();
    public function resultHandler(event:ResultEvent) {
    var pageResult :Object= userServiceRM.getsimpleList.lastResult;
    sendNotification(UserStartupCommond.USERLIST_GOT,pageResult);
    public function faultHandler(event:FaultEvent) {
    //handle remote object fault
    Look at the RPC Components section of the BlazeDS Developers guide for more information about using the RPC components. Hope that helps.
    -Alex

  • How can I use more lines to show a field of a row in a report?

    How can I use more lines to show a field of a row in a report? Table A have two columns: (c1 number(5),c2 varchar2(1000)).When I show the table on a report,the column c2 show itself in one row.So the width of html page is very wide.How can I split the field c2 to many lines?
    Thanks for any help.

    I was wondering if an answer was found for this one.
    I have the same problem using the default "Look 4" template for the region. I have found in the CSS file where it is defined and it specifies "nowrap" in the style, which is why the long value is not being split over multiple lines.
    So, my question is, without modifying or creating templates, is there a way to override the "nowrap" attribute from within the item definition? e.g. in the Column Attributes.Column Formatting.CSS Style field. I had some success changing the display properties, such as background colour and font size but I can't seen to override the nowrap attribute!

  • How can I use the F11 short cut to go to next field in Microsoft Word 2011 on Macbook Air

    How can I use the F11 short cut to go to next field in Microsoft Word 2011 on Macbook Air?

    The default setting for the function keys is that they do OS X functions.
    To get a regular function hold the fn key and then press the function key.
    This action can be reversed in keyboard preferences.

  • How can I use the field "Sales Order" on derivation?

    Dear All.
    This is about PA characteristic derivation.
    I want to change the characteristic value "Sales Order (KAUFN)" by derivation.
    But I cannot select the characteristic field on target field.
    The field "Sales order(KAUFN)" doesn't exist there.
    Why? How can I use the field "Sales Order" on derivation?
    Y.C.Bae

    Hi Bae,
    in order to be able to choose fields KAUFN (for sales order) and KDPOS
    (for sales order item) as target fields of derivation step 'enhancement'
    you have to modify the coding of subroutine EXIT  GET_ALLOWED_TARGETS
    in program RKEDRCOPA like this:
        NAME-IDENTIFIER = 'CO-PA'.
        NAME-TABNAME = FIELDTAB_ENTRY-TABNAME.
        NAME-FIELDNAME = FIELDTAB_ENTRY-FIELDNAME.
        IF FIELDTAB_ENTRY-USGFL CA 'DUV'
    BEGIN OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KAUFN'
             OR FIELDTAB_ENTRY-FIELDNAME = 'KDPOS'
    END   OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KNDNR'
             OR FIELDTAB_ENTRY-FIELDNAME = 'ARTNR'
    Actually sales order number and sales order item shouldn't be changed
    by derivation (therefore they are no valid target fields in standard)
    but if you need to fill them within an enhancement this modification
    will help you to define them as valid target fields. But this is just
    the technical frame so far; the logic from which table you'd like to
    derive the sales order number correctly depends on your implementation
    of the enhancement! I just want to ask you to be rather careful with
    the implementation of the exit so that the sales order number isn't
    changed in cases that shouldn't be concerned.
    Regards,
    Abhisek

  • How can I use a subsummary field in a calcultaion field in a database ???

    how can I use a subsummary field in a calcultaion field in a database???? I need to use the average I get in my sorted records to make another calculation. Can this be done???
    powerbook G4   Mac OS X (10.4.8)  

    Calculation fields work with data that is contained in a single record.
    Summary fields use data from the same field(s) in a range of records.
    Summary field results can't be used in further calculations.
    You may be able to define a summary field to include the average AND the further calculation that you need, but only if you do not want the results to be placed into a particular record or records.
    A detailed description of the data you want to use and the result you want to achieve might lead to some ideas on whether it can be done, and how to do it.
    Regards,
    Barry

  • How can i use Button in BEx  7.0

    Dear Folks,
    Could you help me please ..
    In BI 7.0, for BEx analyzer i see we can use button, combo box, analysis grid.
    If i have a requirement like this:
    1. I have sales report, where it has information about sales person.
    2. And i want to filter that report with the sales person that i choose from combo box.
    For that requirement, i tried to :
    1. I Create a query to Sales info-provider for displaying sales.
    2. I Create a query to either to MD Sales person / Sales info-provider in order to get Sales persons data.
    3. I assign point no 1 to Analysis Grid.
    4. I assign point no 2 to Combo box.
    My questions are:
    a. Is my techniques correct ??
    b. How can i use button to execute filter into the corresponding report ???
    c. Is there any tutorial regarding this ?? Could you share it to me please ..
    Really need your guidances..
    regards,
    Niel..

    Hi Niel,
    You can use the method you specified.
    In Bex Analyzer you have design mode where you can have the following items Button, Analysis Grid and Combo box.
    To work with the button you need to use the Command Wizard which consists of pre-defined functions, out of those select the one which suits your requirement and supply the parameters. As it is done thorugh a Wizard it would be easy to do.
    Also,
    The Button Name displays the name of the button, which is generated automatically and is unique. This name is used on the BEx Analyzer Design Toolbar menu to refer to a particular instance of the button.
    · Range u2013 Manipulate coordinates for a cell or cells in this field to move or resize the button.
    · Button Text - The text (caption) you want to display on the button. You can use this to describe the command the button executes.
    · Command Range (optional) - Specify a three-column range of cells in the worksheet that contains command parameters. In these cells, you provide the same parameters (Name, Index, and Value) as in the Static Parameters, but in the worksheet these can be variable, changing during
    navigation based on query results or on a value you manually specify.
    Button in Bex analyzer
    Regards,
    Neelesh Jain.

  • How can i use reuse_alv_fieldcatalog_merge function module

    I am using below steps for populating the final internal table.How can I use reuse_alv_fieldcatalog_merge function module in the place of declaring all these fields.How canI put title of the report in reuse_alv_fieldcatalog_merge function module.
    FORM BUILD_FIELDCATALOG .
      FIELDCAT-TABNAME   = 'IT_FINAL'.
      FIELDCAT-FIELDNAME = 'KUNNR'.
      FIELDCAT-SELTEXT_M = 'Customer Name'.
      FIELDCAT-JUST      = 'L'.
      FIELDCAT-KEY       = 'X'.
      FIELDCAT-DATATYPE  = 'C'.
      APPEND FIELDCAT TO I_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME   = 'IT_FINAL'.
      FIELDCAT-FIELDNAME = 'VBELN'.
      FIELDCAT-SELTEXT_M = 'Invoice Reference'.
      FIELDCAT-JUST      = 'L'.
      FIELDCAT-KEY       = 'X'.
      APPEND FIELDCAT TO I_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME   = 'IT_FINAL'.
      FIELDCAT-FIELDNAME = 'VKBUR'.
      FIELDCAT-SELTEXT_M = 'Sales Office'.
      FIELDCAT-JUST      = 'L'.
    FIELDCAT-KEY       = 'X'.
      FIELDCAT-DATATYPE  = 'C'.
      APPEND FIELDCAT TO I_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME   = 'IT_FINAL'.
      FIELDCAT-FIELDNAME = 'VKGRP'.
      FIELDCAT-SELTEXT_M = 'Sales Person'.
      FIELDCAT-JUST      = 'L'.
    FIELDCAT-KEY       = 'X'.
      FIELDCAT-DATATYPE  = 'C'.
      APPEND FIELDCAT TO I_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME   = 'IT_FINAL'.
      FIELDCAT-FIELDNAME = 'POSNR'.
      FIELDCAT-SELTEXT_M = 'Item No'.
      FIELDCAT-JUST      = 'L'.
      FIELDCAT-KEY       = 'X'.
      APPEND FIELDCAT TO I_FIELDCAT.
      CLEAR FIELDCAT.
      FIELDCAT-TABNAME   = 'IT_FIANL'.
      FIELDCAT-FIELDNAME = 'ARKTX'.
      FIELDCAT-SELTEXT_M = 'Item Description'.
      FIELDCAT-JUST      = 'L'.
      FIELDCAT-DATATYPE  = 'C'.
      APPEND FIELDCAT TO I_FIELDCAT.
      CLEAR FIELDCAT.

    Hello,
    It is very easy to use reuse_alv_fieldcatalog_merge.
    You try this it will work.
    example
    data:
    DATA : gv_repid        TYPE syrepid VALUE sy-repid .  " Report id
      PERFORM set_field_catalog USING gst_struct CHANGING lst_fieldcat.
    FORM set_field_catalog  USING uv_tab TYPE slis_tabname
                         CHANGING  xt_fieldcatalog TYPE slis_t_fieldcat_alv.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = gv_repid
          i_internal_tabname     = uv_tab
          i_inclname             = gv_repid
        CHANGING
          ct_fieldcat            = xt_fieldcatalog
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " set_field_catalog_spec

  • How can I use the Rownum/Customized SQL query in a Mapping?

    Hi,
    * I need to use a Rownum for populating one of the target field? How to create a mapping with Rownum?
    * How can I use an Dual table in OWB mapping?
    * Can I write Customized SQL query in OWB? How can I achieve this in a Mapping?
    Thanks in Advance
    Kishan

    Hi Niels,
    As I'm sure you know, the conundrum is that Reports doesn't know how many total pages there will be in the report until it is all done formatting, which is too late for your needs. So, one classical solution to this problem is to run the report twice, storing the total number of pages in the database using a format trigger, and throwing away the output from the first run when you don't know the total number of pages.
    Alternatively, you could define a report layout so that the number of pages in the output is completely predictable based upon, say, the number of rows in the main query. E.g., set a limit of one, two, ... rows per page, and then you'll know how many pages there will be simply because you can count the rows in a separate query.
    Hope this helps...
    regards,
    Stewart

  • How can i use index in select query.. facing problem with the select query.

    Hi Friends,
    I am facing a serious problem in one of the select query. It is taking a lot of time to fetch data in Production Scenario.
    Here is the query:
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelat LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelatrprctr
        WHERE rldnr  = c_telstra_accounting
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          And rzzlstar in r_lstar                            
          AND rpmax  = c_max_period.
    There are 5 indices present for Table ZTFTELAT.
    Indices of ZTFTELAT:
      Name   Description                                               
      0        Primary key( RCLNT,RLDNR,RRCTY,RVERS,RYEAR,ROBJNR,SOBJNR,RTCUR,RUNIT,DRCRK,RPMAX)                                          
      005    Profit (RCLNT,RPRCTR)
      1        Ledger, company code, account (RLDNR,RBUKRS, RACCT)                                
      2        Ledger, company code, cost center (RLDNR, RBUKRS,RCNTR)                           
      3        Account, cost center (RACCT,RCNTR)                                        
      4        RCLNT/RLDNR/RRCTY/RVERS/RYEAR/RZZAUFNR                        
      Z01    Activity Type, Account (RZZLSTAR,RACCT)                                        
      Z02    RYEAR-RBUKRS- RZZZBER-RLDNR       
    Can anyone help me out why it is taking so much time and how we can reduce it ? and also tell me if I want to use index number 1 then how can I use?
    Thanks in advance.

    Hi Shiva,
    I am using two more select queries with the same manner ....
    here are the other two select query :
    ***************1************************
    SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelpt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelptrprctr
        WHERE rldnr  = c_telstra_projects
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar             
          AND rpmax  = c_max_period.
    and the second one is
    *************************2************************
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelnt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelntrprctr
        WHERE rldnr  = c_telstra_networks
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar                              
          AND rpmax  = c_max_period.
    for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables.  if i will not use it will delete all the data fetched earlier.
    Thanks on advanced......
    Sourabh

  • How can I use jbo:InputSelect for a char type filed?

    How can I use <jbo:InputSelect for a char type filed?
    I have two tables. One is room (primary key is room(type is char)), another table is responsibility (foreign ker is room(type is char)). Both tables have same length for room column.
    There is a problem:
    If I use (in the "DataEditComponent.jsp" file)
    <jbo:InputSelect multiple="false" datasource="dsEdit" displaydatasource="roomData" displaydataitem="ROOM" displayvaluedataitem="ROOM" ></jbo:InputSelect>
    to get the room input for responsibility from combobox(Datasource roomData is from room table). In the form the room field cannot bind the data in combobox, alway select the first item. And if I select one item and click the update button.There is an error message:
    Error Message: JBO-27010: Attribute set with value H409 for Room in Responsibility has invalid precision/scale
    I found If I changed the field type from char to varchar2 in database also change the entity objects, it works well. I wonder if there are any diffrence using <jbo:InputSelect tag in char and varchar2 type. How can I use <jbo:InputSelect for a char type filed as i don't want to change my datatype in database at this stage.
    I try this in JDeveloper 9.03, 9.034, 9.04. The result is the same.

    If I were in your shoes, here's how I would do it:
    <%-- Assuming you have dsRoom and dsResponsibility --%>
    <%-- Select is an HTML tag --%>
    <select name="ROOM" size="1">
    <% char roomID =""; // Init your character var
    // Open a rowsetIterator to get the records and add them to the LOV
    <jbo:RowsetIterate datasource="dsResponsibility" changecurrentrow="true" >
    <% roomID = (char)dsResponsibility.getRowSet().getCurrentRow().getAttribute("ROOM"); // Grab the char value
    // add the value to the LOV
    %>
    <option value="<%=roomID%>"><%=roomID%></option>
    </jbo:RowsetIterate>
    </select>
    If you are using this as part of an edit page you may want to utilize the "selected" option of the <option> tag. In one instance I am doing this on an edit page because the use may open an existing record. If I don't account for it, then it will change the DB to contain the first value from the list! You can do a simple check like:
    //Set the current record's char
    char curRecord = (char)rowEdit.getAttribute("ROOM");
    // inside the iterate:
    if (curRecord == roomID) {
    <option value="<%=roomID%>" selected><%=roomID%></option>
    } else {
    <option value="<%=roomID%>" ><%=roomID%></option>
    Hope that helps!

  • How can i use autoSuggestBehavior for inputText witha separator

    I use JDEVADF_11.1.1.2.0
    how can i use a input Text Field with auto suggest by sepearted
    in a field with what, is separated
    Example Value :"Name1;Name2;Name3......"
    Sorry for my English

    I'm not exactly sure what do you mean here.
    The basics of working with autosuggest are here:
    http://www.connotea.org/user/jdeveloper/tag/auto%20suggest

  • How can I remove dropdown calendar menu from date/time field.

    I set up a javascript calculation based on the input of a date field. As long as the user enters the date manually the script works fine. If user attempts to select date by drop down menu then script will not work. How can I remove the calendar feature from the Date field?

    You may have to wire custom script to get you what you need. That would probably work on 'exit' event.
    Just you give you better Idea here is some thing I have on a date field. If user types his own date instead of picking from calendar this code checks whether it is valid date or not and returns to the same field either they enter valid date or clear the field.
    This is FormCalc script. You may get the idea how this works and make it work for you using the same logic either in FormCalc or JavaScript.
    ----- form1.SOF.Head.Table1.Row1.ReqDate.Date_ReqDate::exit: - (FormCalc, client) ------------------
    if (HasValue($)) then
    if (Len($.rawValue) == 10) then
    var S1
    var MM
    var DD
    var YYYY
    var Derror
    var D1
    var D2
    var S2
    Derror = 0
    D1 = 0
    D2 = 0
    S1 = $.rawValue
    D1 = At(S1, "-")
    S2 = Right(S1, 5)
    D2 = At(S2, "-")
    if (D1 > 0 and D2 > 0) then
    if (D1 == 3 and D2 == 1) then
    MM = Substr(S1, 1, 2)
    DD = Substr(S1, 4, 2)
    YYYY = Substr(S1, 7, 4)
    elseif (D1 == 5 and D2 == 3) then
    MM = Substr(S1, 6, 2)
    DD = Substr(S1, 9, 2)
    YYYY = Substr(S1, 1, 4)
    else
    Derror = Derror + 1
    endif
    else
    Derror = Derror + 1
    endif
    if (Oneof(MM, "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12")) then
    Derror = Derror
    else
    Derror = Derror +1
    endif
    //xfa.host.messageBox("MM"+ Derror, "Incorrect Date", 1, 0)
    if ((Oneof(DD, "01", "02", "03", "04", "05", "06", "07", "08", "09")) or ((DD >=10) and (DD <= 31))) then
    Derror = Derror
    else
    Derror = Derror + 1
    endif
    //xfa.host.messageBox("DD"+ Derror, "Incorrect Date", 1, 0)
    if ((YYYY >= 1975) and (YYYY <= 2050)) then
    Derror = Derror
    else
    Derror = Derror + 1
    endif
    //xfa.host.messageBox("YYYY"+ Derror, "Incorrect Date", 1, 0)
    if (Derror > 0) then
    xfa.host.messageBox("Preferred valied date between Jan 01, 1975 and Dec 31, 2050. ", "Incorrect Date", 1, 0)
    xfa.host.setFocus($.somExpression)
    else
    //good
    $.formattedValue = Format("MMM DD, YYYY", Concat(YYYY, MM, DD))
    if ($event.shift) then
    //xfa.host.messageBox("Shift")
    var sh
    sh = 1
    //xfa.host.setFocus("xfa.form.form1.SOF.Head.RadioAttachTo.RadioAttachTo3")
    else
    if (xfa.event.commitKey == 1) then
    var A
    A = 1
    else
    xfa.host.setFocus("xfa.form.form1.SOF.Head.Table1.Row2.CustName")
    endif
    endif
    endif
    else
    xfa.host.messageBox("Preferred valied date in format MMM DD, YYYY.", "Incorrect Format", 1, 0)
    xfa.host.setFocus($.somExpression)
    endif
    endif
    Good luck,
    SekharN

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

Maybe you are looking for

  • Div id without definition in css layout file

    Hi, I noticed that I can insert a div id which doesn't have the corresponding definition in my css file? I don't see any warning from Dreamweaver 4. <div id="main-content"> Is this allowed? what is supposed to happen in this situation? I was expectin

  • Problem in transporting the objects(very urgent)

    hello Experts, I have saved my tables , domains,data elements and programs in local object.Now i want to tranport into production server,For that i have to save this objects in some request.How to do that.Please give me the solution . Thanks in advan

  • How to get logon token from OA framework

    Hi, All Is there a way to retrieve the oralce ebs user token. It seems that Class webAppsContext doesn't provide the method to retrieve this info. Any Advice ? thanks in advance

  • Native logic windows (like 'Go To') have a SLOW 'spring' animation

    I'm new to Mountain Lion, and the first thing I've noticed while trying to get any work done, is hitting "Go To" to open the "GO To Position" window results in the window opening with this really silly spring/zoom effect.  I've tried everything I can

  • Help Wont download photos!!

    I am in peru with no access to my computer. I have the adaptor to download my pics from my camera to my Ipod and I did it about 10 times then the last time it stopped and said error. When I unhooked it it showed none of the pics that were on there be