Setting OBDC info on multiple reports (batch)

Hello,
Is there a way to set OBDC info for multiple reports at once. I have users with 100+ reports and we just changed SQL server, so that each report need to be pointed to the new server. Doing it manually by opening each report and manually pointing it to the new server is a real pain.
If there is a way we can do it in a batch that would save us a lot of time.
TIA!

since you're changing servers, just editing the existing odbc connection (i.e. in the 32 Bit ODBC  Data Source Administrator) to point to the new server should be all that is required as long as the table names and field names / types within those tables remains constant.
otherwise, there are 3rd party tools (usually cost) like 'rpt inspector' where you can do this.

Similar Messages

  • Need info. on multiple report server

    I need to have two 9i report server on the same machine and they should serve two different language applications and hence should have two different NLS_LANG JA16SJIS and WEISO8859P1. The applications are forms6i and the report servers should be 9i.
    My question is:
    1. Is it possible to have two 9i report servers on the same machine with different NLS_LANG?
    2. If possible, can they be accessed from forms6i?
    3. If this is feasible, pls. give me guidance or the doc where I can find the info. to set up this config.
    Thanks in advance!

    Hi Venkatesan
    If you are going to run several Reports 9i server with different NLS parameters, you may want to explore Dynamic Environment switching feature. Apply the latest Reports 9i patch and go through the Release Notes that comes along on how to use it.
    Briefly, Dynamic Environment feature allows you to have a single Reports Server serving report request of multiple languages. All you need to do is a minor modification in the Server configuration file. Next when sending a request to Reports Server you need to specify which language this reports is.
    Regards
    Sripathy

  • Perform setting OOP ALV for multiple reports using Field Symbols

    Hi, Abapers ... i try to write a programme which using ONE oop ALV but 2 different structure internal table. the last result should be 2 radio button. first button is r_wbs and 2ns r_kpi. r_wbs will display 4 column answer and r_kpi will display 10 columns answer with different column name. i successfully implemented using FIELDS SYMBOLS but the problems i failed to perform customized setting forALV (report's tittle, column name, different layout etc)  for 2 different reports.  this is the programme. Please Give Opinion, simple example will be more helpful. Thanks You Very Much
    *&this report experimental how to print into ONE alv
    *&with 2 diffrent structure internal table
    REPORT  zfiroopalv.
    SELECTION-SCREEN BEGIN OF BLOCK mode WITH FRAME TITLE text-002.
    PARAMETERS r_wbs RADIOBUTTON GROUP mode DEFAULT 'X'.
    PARAMETERS r_kpi RADIOBUTTON GROUP mode.
    SELECTION-SCREEN END OF BLOCK mode.
    CLASS lcl_main DEFINITION.
    PUBLIC SECTION.
    CLASS-DATA: md_wbs TYPE c LENGTH 1.
    METHODS: process,
             write.
    DATA: mdo_data TYPE REF TO data.
    TYPES: BEGIN OF st_wbs,
    rsnum TYPE zmeime002a-rsnum,
    rspos TYPE zmeime002a-rspos,
    a TYPE zmmgitab01-menge,
    b TYPE zmeime002a-bdmng,
    c TYPE zmeime002a-bdmng,
    d TYPE zmeime002a-bdmng,
    e TYPE zmeime002a-bdmng,
    f TYPE zmmgitab01-menge,
    g TYPE zmmgitab01-menge,
    END OF st_wbs.
    TYPES: BEGIN OF st_kpi,
    regio TYPE zmeime002a-regio,
    gsber TYPE zmeime002a-gsber,
    gtext TYPE zmeime002a-gtext,
    x TYPE zmmgitab01-menge,
    y TYPE zmmgitab01-menge,
    z TYPE zmmgitab01-menge,
    END OF st_kpi.
    CLASS-DATA: it_wbs TYPE TABLE OF st_wbs,
                wa_wbs LIKE LINE OF it_wbs.
    CLASS-DATA: it_kpi TYPE TABLE OF st_kpi,
                wa_kpi LIKE LINE OF it_kpi.
    PRIVATE SECTION.
    DATA: set_display_setting TYPE REF TO cl_salv_table.
    DATA: display_settings TYPE REF TO cl_salv_display_settings.
    DATA: salv_table TYPE REF TO cl_salv_table.
    DATA: error TYPE REF TO cx_root.
    DATA: errtext TYPE string.
    ENDCLASS.
    CLASS lcl_kpi DEFINITION INHERITING FROM lcl_main.
    PUBLIC SECTION.
    METHODS: process_kpi.
    PRIVATE SECTION.
    ENDCLASS.
    * C.L.A.S.S lcl_main D.E.F.I.N.I.T.I.O.N
    CLASS lcl_wbs DEFINITION INHERITING FROM lcl_main.
    PUBLIC SECTION.
    METHODS: process_wbs.
    PRIVATE SECTION.
    ENDCLASS.
    * m.a.i.n. .p.r.o.g.r.a.m.
    START-OF-SELECTION.
      DATA: o_main TYPE REF TO lcl_main.
    DATA: p_wbs TYPE c.
    CREATE OBJECT o_main.
      CASE 'X'.
      WHEN r_wbs.
          o_main->md_wbs = 'X'.
      WHEN r_kpi.
          o_main->md_wbs = ' '.
      ENDCASE.
      o_main->process( ).
      o_main->write( ).
    CLASS lcl_main IMPLEMENTATION.
    *ENDMETHOD.
    METHOD process.  " NOTE: public method
    DATA: o_main TYPE REF TO lcl_main,
          o_wbs TYPE REF TO lcl_wbs,
          o_kpi TYPE REF TO lcl_kpi.
    CREATE OBJECT: o_wbs,o_kpi.
      IF ( me->md_wbs = 'X' ).
          CALL METHOD o_wbs->process_wbs( ).  " NOTE: private method
          GET REFERENCE OF me->it_wbs INTO me->mdo_data.
      ELSE.
          CALL METHOD o_kpi->process_kpi( ).  " NOTE: private method
          GET REFERENCE OF me->it_kpi INTO me->mdo_data.
      ENDIF.
    ENDMETHOD.
    METHOD write.
    FIELD-SYMBOLS:
      <lt_outtab>    TYPE table.
      ASSIGN me->mdo_data->* TO <lt_outtab>.
    cl_salv_table=>factory(
    EXPORTING
    list_display = if_salv_c_bool_sap=>false
    IMPORTING
    r_salv_table = salv_table
    CHANGING
    t_table = <lt_outtab>
    salv_table->display( ).
    ENDMETHOD.
    ENDCLASS.
    CLASS lcl_kpi IMPLEMENTATION.
    METHOD process_kpi.
    *********** run some select statement into it_kpi*******
    ENDMETHOD.
    ENDCLASS.
    CLASS lcl_wbs IMPLEMENTATION.
    METHOD process_wbs.
    *********** run some select statement into it_wbs*******
    ENDMETHOD.
    ENDCLASS.

    Hi,
    I had similar requirement wherein I was supposed to display different data using 2 different internal tables on a subscreen area.
    The screen consists of two parts: 1) selection-screen with few input fields and two buttons 2) Subscreen area where the report need to be displayed. This report is displayed based on the button that the user is selecting. For this I have done the following things:
    1. Capture the sy-ucomm when user is clicking on any of the two buttons in PAI. Then perform data fetch operation.
             MODULE USER_COMMAND_9003 INPUT.
                 CASE OK_CODE.
                     WHEN 'DETAIL'.
                       GV_RPT = OK_CODE.
                       PERFORM F_GET_DETAIL_DATA.
                     WHEN 'REPORT'.
                       GV_RPT = OK_CODE.
                       PERFORM F_GET_REPT_DATA.
                   ENDCASE.
             ENDMODULE.                 " USER_COMMAND_9003  INPUT
    2.  Declare two different ALV's with the fieldcat similar to 2 internal tables respectively. Use the above sy-ucomm PBO to call appropriate ALV.
             MODULE DISPLAY_ALV OUTPUT.
               IF GV_RPT EQ 'DETAIL'.
                 PERFORM F_FIELDCAT_DETAIL.
                 PERFORM F_LAYOUT_DETAIL.
                 PERFORM F_EXCLUDE_TOOLBAR_DETAIL.
                 PERFORM F_DISPLAY_ALV_DETAIL.
               ELSEIF GV_RPT EQ 'REPORT'.
                 PERFORM F_FIELDCAT_REPT.
                 PERFORM F_LAYOUT_REPT.
                 PERFORM F_EXCLUDE_TOOLBAR_REPT.
                 PERFORM F_DISPLAY_ALV_REPT.
               ENDIF.
             ENDMODULE.                 " DISPLAY_ALV  OUTPUT
    3. Before displaying ALV you need to free the container and ALV.
    FORM F_DISPLAY_ALV_DETAIL .
    IF GC_CONTAINER_ES IS NOT INITIAL.
        CALL METHOD GC_CONTAINER_ES->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_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.
      ENDIF.
      IF GC_ALV_GRID_ES IS NOT INITIAL.
        CALL METHOD GC_ALV_GRID_ES->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_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.
      ENDIF.
      IF GC_CONTAINER_TB IS NOT INITIAL.
        CALL METHOD GC_CONTAINER_TB->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_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.
      ENDIF.
      IF GC_ALV_GRID_TB IS NOT INITIAL.
        CALL METHOD GC_ALV_GRID_TB->FREE
          EXCEPTIONS
            CNTL_ERROR        = 1
            CNTL_SYSTEM_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.
      ENDIF.
      CREATE OBJECT GC_CONTAINER_ES
        EXPORTING
          CONTAINER_NAME              = 'CC_9003'
        EXCEPTIONS
          CNTL_ERROR                  = 1
          CNTL_SYSTEM_ERROR           = 2
          CREATE_ERROR                = 3
          LIFETIME_ERROR              = 4
          LIFETIME_DYNPRO_DYNPRO_LINK = 5
          OTHERS                      = 6.
      CREATE OBJECT GC_ALV_GRID_ES
        EXPORTING
          I_PARENT          = GC_CONTAINER_ES
        EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CALL METHOD GC_ALV_GRID_ES->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT                     = GS_LAYOUT_ES
          IT_TOOLBAR_EXCLUDING          = GT_TOOLBAR_ES
        CHANGING
          IT_OUTTAB                     = GT_ES_REPT
          IT_FIELDCATALOG               = GT_FIELDCAT_ES
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          OTHERS                        = 4.
    ENDFORM.                    " F_DISPLAY_ALV_DETAIL
    Similarly define the FORM F_DISPLAY_ALV_REPT.     
    Hope this will be useful for you. If you have any more queries let me know.

  • Getting ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. Error while run Financial Reporting Batch Scheduler

    Hi,
    I am running Financial Report batch file via command line i am getting below error.
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>ant -q -f "D:
    \Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\bin\BatchAdmin.xml" batch.schedule
    ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>
    Already i have ANT_HOME =D:\Oracle\Middleware\modules\org.apache.ant_1.7.1 and added to ANT_HOME to the PATH variable. I restarted the system but still i am getting same error.
    Please help me on this.
    Thanks,
    Naresh

    Hi Celvin,
    Thanks for the reply.
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>BatchName
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>ScheduleBatch
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin\BatchName.xml ht
    tp://localhost:19000
    D:\Oracle\Middleware\EPMSystem11R1\products\financialreporting\bin>ant -q -f "D:
    \Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\bin\BatchAdmin.xml" batch.schedule
    Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\li
    b\tools.jar
         [echo] Batch accepted for scheduling: D:\Oracle\MIDDLE~1\EPMSYS~1\products\
    FINANC~2\bin\Sch-1.xml
    Now i am getting below information when i ran the scheduled batch.
    Why i am getting
    Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\li
    b\tools.jar
    error.How to rectify this problem. How to make to point it to JDK path ? where i need to update ?
    I have already set JAVA_HOME setting to JDK path and updated in the "PATH" variable.
    Thanks,
    Naresh Mopala.

  • Printing Multiple Reports in a Single Request Set to Different Printers

    We are running on 11.5.10 and have three reports in a single request set.
    Two of the reports are standard laserjet compatible reports and we would like these sent to whatever printer is specificed in the request set when it is executed. The third report is a shipping label report and we require that this report always print to a specific (tractor feed) printer while using a partiuclar style we have defined for this printer.
    When we set the label report in its concurrent defininition screen to print only at the label printer and the request set to print to a nearby laserjet the request fails on the first job (one that should be sent to the laserjet) with an error indicating that the style defined for the label printer (ie. "RAW") does not exist on the laserjet printer (which it does not, but it does not need to be).
    Is it even possible to have two reports in a single request set print to different printers?
    Thanks,
    Scott

    We never bounce the concurrent manager process when we update the concurrent program define. There has never been a need to do so. But, regardless, it bounces twice a week anyway and it has had no effect.
    I do not think this is possible without using a 3rd party/custom solution (ex. Optio).
    The requirement is pretty simple really: We have a report that MUST ABSOLUTLEY ALWAYS_ print only to a single, particular printer. And, if it is in a request set that contains other reports and it is defined to print to a different printer they all should go to the "correct" printers.
    If anyone has a method to do this please post!
    Scott

  • Scheduling Multiple Reports at Once

    Is it possible to schedule multiple reports at once - so if I have a set of 40 reports that make up a financial close book, can I just schedule the book?
    Thanks,
    Chris

    Hi ,
    use the RUN_PRODUCT() built - in procedure..... for every instance of record , if you have a multi-record-block.....
    note: maybe you should give some additional info , adout what the form like , in which circumstances should the reports be called , .. ... e.t.c..
    Simon

  • Query Design Strategies - servicing multiple reports from a single query

    I was wondering if anyone knew of any good web resrouces (articles and such) to assist with Query Design Strategies. What I am specifically looking to do is replace multiple reports from the previous system with just views of a single query. So I was looking at grouping the existing reports that we are replacing into queries and creating views for each report.
    The catch is that we will only be utilizing web reporting for report distribution, so we need to:
    1. Use views as DataProviders to web templates
    2. Broadcast views to users as links where they can see that particular view
    Is this possible and does anyone have some info on how to do this?

    Lets say that 10 broadcasted reports all could use the same query but each in a different navigational state.
    1. Can you navigate the query and save as a view and then set up a brodacast rule for that view?
    2. Can a DataProvider in a web template be a view?
    3. Can the BI Launcher iView take a view name in place of a query?
    <prt_protcl>://<prt_server>/<bi_launcher>?TEMPLATE=TEST1&QUERY=TEST2

  • Hyperion Smart Cut Session Issue streaming multiple reports at a time using

    This is a lengthly post with details, Please review with Patience:
    We are trying to integrate Workspace based web Analysis reports within our intranet portal, thru portlets (made from individual workspace smartcut link), so that users can customize their page as needed, Once they login thru intranet, Cookie is set and passed to succeeding smart cut links via secured http headers. This part is fine, but mainly running into issue with streaming several multiple web-analysis reports at a time,+ we are using Iframe to display and stream multiple individual reports on to one page, but unfortunately all Iframes are sharing one session rather than creating individual session, mostly because of limitation of current web analysis system architecture and IE browser behavior with sessions .
    Which Hyperion reporting tool does allow to stream multiple reports  at a time? ideally we want to create Iframe of each workspace report so that users can customize and pick portlets as needed. To stream multiple reports at a time.
    Problem Description: Hypeiron Web Analsysis, Smart cut reports incorrectly rendering images and intermixing dash boards on POV changes upon multiple reports being diplayed at one time thru Iframe's, issue seem to mostly relate to Hyperion using single session rather to multiple session when displaying several web reports at a time.
    Steps Needed To Reproduce:
    User logs into workspace.
    user click on expolore and able to view the report without any issues.
    When right on any of the report and select properties.
    Select the SmartCut url and paste it in the Internet explorer.
    The webanalysis report opens without any issues.
    Similarly user copies the smartcut url for a different report and paste the link on a different tab or new window of same browser.
    The report on the first tab gets over written of the report of the second tab of the browser.
    The issue happens when two different reports and opened on a browser with multiple tabs. The reports get over written.
    Oracle development answer:
    In the described scenario opening new browser window does not spawn a separate independent browser session. A new browser window is supplied with URL pointing to the same domain, so all browser cookies including the "ORA_WA_SID" (WA session cookie) are shared between the windows. But multiple application instances cannot run in the same browser session simultaneously because of session sharing. This is not actually a defect, but rather a limitation of current system architecture and browser behavior. And there is no way to fix it programmatically on the product side.

    Hi MeHyper,
    Your current arrangement puts most of the session handling and persistence on the client. This forces you to accept whatever the client decides to persist and propogate between browser elements (in this case iframes).
    My approach would be to:
    Consider coding your portlets to manage the sessions. Manage using a somewhat stateless strategy so that each request to the server requires a login and connect, retrieve, and disconnect. Each Iframe should access a different portlet url (or provide a different query) based on its content.
    This way, in theory, you can invalidate the sessions and related cookies and update the various report elements independently.
    Is smartview out of the question here?
    Regards,
    Robb Salzmann

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • How do I set Page Width to Multiple Pages?

    How do I set Page Width to Multiple Pages?
    I notice when Cross Tabs are used, the report spans over several pages in width. Can I set this option without using a cross-tab? Since I am having trouble finding a paper width that is 100 inches wide, I was thinking of just using multiple pages.
    Thanks,
    Linda

    Hi Linda,
    Try inserting an OLEDB object and select a bitmap and insert a blank bitmap in report header. Now go to preview and right click on OLEDB Object go to format graphic>picture>change the width of the picture
    If the width exceeds more than the width of the page then it create virtual pages.
    Hope this helps!
    Raghavendra

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • How do I print multiple reports to a directory at the same time

    I'm trying to print a list of monthly reports to a directory by using the code below. The first part of the code runs a query to select Business Units that will receive the reports. The idea is to cycle through this list and print one report for each
    Business Unit.  These vary from month to month. I create a record set from that query.  Where I'm getting stuck is in trying to pass the Business unit selected in the first query to the query that runs the final report. I end up getting multiple
    reports with different titles but the content is the same, so I'm doing something incorrect.  Here is the code.  Any help would be greatly appreciated. QryNewMOR runs the report.
    Private Sub Cmd012815_Click()
        Dim qdf As DAO.QueryDef
        Dim strSQL As String
        Dim strPathName As String
        Dim blRet As Boolean
        Dim rs As DAO.Recordset
        Dim stDocName As String
        Dim strSavedSQL As String
        Dim strBus As String
        Dim strExec As String
        If Me.Dirty Then Me.Dirty = False
        stDocName = "RptNewMOR"
        strSQL = "SELECT [Business Unit Long],[Responsible Executive] FROM tblRespExec WHERE (((tblRespExec.SelectedPrint)=True));"
        Set rs = CurrentDb.OpenRecordset(strSQL)
        If rs.RecordCount < 1 Then
            MsgBox "No Bus lines or Execs selected", vbCritical, "Error"
            Exit Sub
        End If
       'CreateFolder "C:\Test MOR"
        'store the current SQL
        Set qdf = CurrentDb.QueryDefs("QryNewMOR")
        strSavedSQL = qdf.SQL
        qdf.Close
        Set qdf = Nothing
    Do
        strBus = rs![Business Unit Long]
        strExec = rs![Responsible Executive]
        Set qdf = CurrentDb.QueryDefs("QryNewMOR")
       strSQL = strSQL + Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=" & rs![Responsible Executive] & ");"
        strSQL = strSavedSQL
        qdf.SQL = strSQL
        Debug.Print strSQL
        qdf.Close
        Set qdf = Nothing
        strPathName = "C:\Test MOR\" & rs![Business Unit Long] & ".pdf"
        DoCmd.OutputTo acOutputReport, stDocName, acFormatPDF, strPathName
        rs.MoveNext
    Loop Until rs.EOF
    rs.Close
    Set rs = Nothing
    'restore the SQL
    Set qdf = CurrentDb.QueryDefs("QryNewMOR")
    qdf.SQL = strSavedSQL
    qdf.Close
    Set qdf = Nothing
    End Sub
    Dean J. Waring

    I'm trying to figure out how to combine the two and am obviously not succeeding. Do you have a suggestion on how to make that work?
    Hi Dean,
    I am not completely sure of what you want. I suppose you want to modify the SQL definition of QryNewMOR, and use that modified query for the report?
    In that case, and in the line of your program, I would make a QueryDef: QryStdMOR, with the "standard" strSavedSQL (so: strSavedSQL =  QryStdMOR), construct strSQL in the same way, and assign this to the SQL definition of QryNewMOR.
    Thus, in your code at the very beginning, skip the line strSQL = strSavedSQL.
    strSQL = Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=""" & rs![Responsible Executive] & """);"
    ' skip this line: strSQL = strSavedSQL
    qdf.SQL = strSQL
    Within the loop you should not start with strSQL = strSQL & ...., because strSQL will retain then its value from the previous loop, and increases and increases...
    Finally, I have added some double doublequotes around rs![Resposible Executive], because string expressions must be enclosed by double doublequotes (or eventually a single singlequote).
    Imb.
     strSQL = strSQL + Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=" & rs![Responsible Executive] & ");"
        strSQL = strSavedSQL
        qdf.SQL = strSQL

  • Get Siri to set location reminders (using multiple reminder lists)

    I found a way to get Siri to set location reminders using multiple reminder lists (but you can just use one list too):
    First make additional lists in the reminder app: click list button (the lines on the left) > edit > create new list > done. Make as many as you want. I have grocery, home, personal, business, family.
    Let's say you want a reminder to pick up apples when you get to the apple store. You must add the location in your contacts to your name in contacts.
    Do the following:
    In maps app find the location with search.
    Tap the blue arrow > Add to contacts > Add to existing contact
    Choose your name in contacts. It will be added under your address for home or work so you will need to edit it:
    Click Edit.
    Click on the small label on the left of the new address - it will just say "address"
    Scroll to bottom of page and click on Create custom label
    Enter the location name like "Apple Store". Click Done.
    Important Note: You will need to delete the url it adds under your home url section and maybe other things it messes up with the new contact info instead of yours - so check all the fields each time you do this.
    To make a location based reminder using a specific list you must open that list yourself - Siri will not open it for you.
    Example:
    Open grocery list yourself in the reminders app
    Tell Siri something like: "remind me to pick up apples" (Do not mention the location yet - if you do it will not work)
    Siri will ask: "When should I remind you?"
    Say: "When I get to the apple store"
    Siri will say she will remind you and you will see the location reminder in the grocery list.
    This is how it works for me but if you know an easier way let me know! This is beta so I'm sure it will get easier.

    I have one thing to add.  You don't have to open the list manually.  Tell Siri:  "Add to my <listname> list".  For example, if you have a list named "Work", tell Siri:  "Add to my work list".  Siri will reply, "What should I add to your 'Personal' list?
    and you can continue from there. 
    There is a syntax for doing all this in one sentence, but I find it only works about half the time. Too many fields for Siri to parse in her current Beta stage
    /d

  • Run multiple reports simultaneously?

    Hi All,
    We currently use a reports server with our oracle application server 10g install. The one problem we are experiencing is that when multiple reports are running all have to wait while the current one finishes. Is there a way to set up the reports server to run multiple reports at the same time instead of one after the other?
    Thanks
    Troy

    hi,
    1st take a back up of original rep_<reportservername>.conf file and den make changes in report parameters as follows
    initEngine="3" maxEngine="4" minEngine="3"
    and then restart the OC4j Bi forms,for the parameters to take effect.
    The above setting means 3 reports engines will be always ready n initialized..
    Once done,check it how does it perform..
    if your still facing problem then create a new standalone report server and make one of ur application to point to this report server
    If you want to create a standalone reports server and you DO want to administer
    it via OPMN and EM then please use the following steps. **
    1- MIDTIERHOME\BIN> addNewServerTarget.bat reports_server_name
    2- MIDTIERHOME\opmn\BIN> opmnctl reload
    3- MIDTIERHOME\opmn\BIN> opmnctl startproc ias-component=<reports_server_name>
    4- MIDTIERHOME\opmn\BIN> opmnctl status
    PREREQUISITE:
    When registering a standalone report server with OPMN/EM, if the report server
    is running at the time the addNewServerTarget.bat (or, in unix:
    addNewServerTarget.sh) command is invoked, the Report Server needs to be stopped
    manually first (ie. in unix: "kill -9 pid" -OR- "rwserver.sh
    server=report_server_name shutdown=immediate authid=username/password &) BEFORE
    the opmn registration using the 'addNewServerTarget' command is performed.:
    Regards
    Fabian

  • Prompt used as view selector for multiple reports

    Hi All,
    Can a dashboard prompt be used as View Selector for multiple reports? If yes, please let me know how?
    Thanks
    Sumita

    Hi Sumita,
    You can do this with Dashboard prompts, but it's a little tricky. I'll highlight the process below. Keep In mind I assume you have three reports already created and have three views: View 1, View 2 and View 3.
    Phase I: The Dashboard Prompt
    1. Create a new dashboard prompt.
    2. Add any single column to your prompt. It doesn't really matter which one (just make sure nothing is prompted on it to be safe).
    3. For the sake of this example, I'll assume we added column: "Test Folder"."Test Field"
    4. Make sure your Operator is "is equal to/is in"
    5. Make sure the control is "Drop-down List"
    6. Change the Show to "SQL Results"
    7. Write a SQL statement similar to the following (TEST =<your subject area>, "Test Folder"."Test Field" = <your column>):
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 1' END
    FROM TEST
    UNION
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 2' END
    FROM TEST
    UNION
    SELECT CASE WHEN 1=2 THEN "Test Folder"."Test Field" ELSE 'View 3' END
    FROM TEST
    **Note: The reason why we need to do the CASE statement is because every logical query needs at least 1 presentation column. The case statement is a way to include the presentation column, but since the statement 1=2 is never true, we always use the ELSE condition.
    8. Set a presentation variable. Call it VIEW_PVAR
    9. Have the Prompt default to Specific Value: View 1
    10. Save the Dashboard Prompt and put it into the Dashboard with your reports.
    Phase II: Filter Reports
    1. Create a new Answer request
    2. Bring in your test column twice
    3. Change the formula (fx) on the second column to be: '@{VIEW_PVAR}{View 1}'
    4. Now add a filter to the presentation variable column
    5. Set the operator to "is equal to/is in' and set the value to: View 1
    6. Save the Request as "View 1 Filter"
    7. Change the value in the filter to: View 2
    8. Save the Request as "View 2 Filter"
    9. Change the value in the filter to: View 3
    10. Save the Request as "View 3 Filter"
    Phase III: Guided Navigation
    1. Create three sections in your dashboard
    2. Rename each section to: View 1, View 2 and View 3 respectively
    3. For each of the sections, do the following:
    3a. Click on properties
    3b. Click on Guided navigation
    3c. Set the Guided Navigation to the appropriate Filter report
    4. For each of the three sections, do the following:
    4a. Add in all three requests
    4b. Click on the request properties and select Show and the appropriate view for that section
    5. Save your changes to your Dashboard
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

Maybe you are looking for