What is the syntax please srw.run_report

hi
Im trying to call report B from report A.
I am using a param for report A and also need to send this through into report B when calling.
I have seen a few different syntax examples but not sure when using a lexical param(presuming this is what i need)i hope anyone can help
david

Hi david
begin
srw.run_report('report=d:\urreportname.rep'||'employee='||:empno);
exception
when srw.run_report_failure then
srw.message(30,'Error runing reports.');
raise srw.program_abort;
end;
put above code in push button if u are using 6i
regards
prasanth

Similar Messages

  • I am trying to restore an ipod to the factory settings. However I get a message that my username or password is incorrect. I am using my correct Apple id and password.  What is the problem, please?

    I am trying to restore an ipod to the factory settings. However I get a message that my username or password is incorrect. I am using my correct Apple id and password.  What is the problem, please?

    Was that Apple ID and password the original owner of the iPod?  If not, try using the Apple ID and password of the original owner.

  • I am interested in buying Business Catalyst as a UK Customer? What's the price please?

    I am interested in buying Business Catalyst as a UK Customer? What's the price please? I hope an Adobe agent will help. I tried to google it, but could not find a clear answer to my question. Thanks

    What to do if you sell or give away iPad.
    http://support.apple.com/kb/HT5661

  • What is the syntax for calling function from class file by jsp

    does anyone here knows what is the syntax of how to call a function from java class file by javascript code or any way to call it?
    and where should i put the calling function code? because the function is called depend on the user click.
    for example
    <%=pc.functionName(a,b)%>
    for the variable a and b, how can i get the value from html textbox and put it in a and b...
    urgent needed...
    thx

    Jsp's are executed before the Html forms are created and loaded. Dont try to use a java code function calling on a javascript click. You'll have to explicitly redirect it into a servlet where in you can call the function you want.
    Well! another way could be using AJAX. That seems to be powerfull enough and it might also serve your purpose.
    Hope this helps

  • Pls. tell me what is the syntax the report output

    Hi
    In internal table fields name are department , degination , workers .
    dept.             degination
    IT                   manager
                         ***. manager
                             IT officer
                            IT officer
                             IT officer
    mines                  workers
                                workers
                                workers
                                manager
                                manager
    so i want to output is
    dept . manager              officer              workers
    IT            2                      3
    mines      1                                          3
    what is the syntax pls tell me quickly ..

    Hi Bhabani,
    Can you write clearly what you want.
    i,e, do you want to display the no. of workers in each dept.?
    Write clearly.
    Sastry.

  • I am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

  • HT1695 Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Okay, the Wi-Fi doesn't work.  Turn it on.
    Beyond that, we cannot offer any other assistance as you've failed to provide useful details of the problem.
    When responding, post in your native language as your English makes very little sense.

  • My Ipad 2 does not turn on when not plugged to electricity. Even when plugged to electricity, it constantly restarts/switches itself off. what is the problem, please help??

    My Ipad 2 does not turn on when not plugged to electricity. Even when plugged to electricity, it constantly restarts/switches itself off. what is the problem, please help??

    i plugged it and pressed the home button for a few seconds. the connect to itunes screen appeared and the moment i disconnect the cable from the electric plug, it switches off. when i connect the cable to the PC, nothing happens, its as if nothing has been done.

  • I update my device and asked me the Claude and I do not know what is the solution please help me

    I update my device and asked me the Claude and I do not know what is the solution please help me note that the issuance of the two is the seventh kind iPhone 4 Q and serial number is 01******343
      Please help me
    <Edited by Host>

    Assuming that you mean iCloud (I don't know what you mean 'issuance of the two is the seventh kind'), then when are you being asked for it and is it your iCloud account's password that you are being asked for or did you buy the phone second-hand ? If it's a used phone and the previous owner left it linked to their account then you will need to contact the previous owner, only they can remove it from their account : http://support.apple.com/kb/TS4515

  • HT1695 my internet is not connecting in my "iphone 4s" what is the solution please help

    my internet is not connecting in my "iphone 4s" what is the solution please help

    Contact the carrier.

  • What would the syntax be for type "select"?

    This onload function works great for type "text" - what would the syntax be for type "select"? or is there an example?
    (Vikas' example pg 227)
    window.onload=function () {
    var text=document.getElementsByTagName('input');
    for (var j=0;j<text.length;j++) {
    var ip=text[j];
    if (ip.type=="text") {
    ip.onchange=function () {
         var td=html_CascadeUpTill(this,'TD');
         var tr=html_CascadeUpTill(this,'TR');
         // Getting the value of the PK
         var pk=tr.lastChild.getElementsByTagName('input')[1].value;
         alert(pk);
         var l_cellindex=td.cellIndex;
         var l_column=g_headers[l_cellindex].id;
         var app=html_GetElement('pFlowId').value;
         var pg=html_GetElement('pFlowStepId').value;
         var get=new htmldb_Get(null,app,'APPLICATION_PROCESS=session_auto_update',pg);
         get.add('G_ITEM1',l_column);
         get.add('G_ITEM2',this.value);
         get.add('G_ITEM3',pk);
         alert('column='+l_column+',value='+this.value+',pk='+pk);
         gReturn=get.get();
         if (gReturn) { alert(gReturn); this.focus();}
         get=null;
    </script>

    Here it is... Do I need any adjustments?
    var selectlist=document.getElementsByTagName('select');
    for (var k=0;k<selectlist.length;k++) {
    var select_ip=selectlist[k];
    //alert(select_ip.type);
    if (select_ip.type=="select-one") {
    //alert(select_ip.type);
    select_ip.onchange=function () {
    var td=html_CascadeUpTill(this,'TD');
    var tr=html_CascadeUpTill(this,'TR');
    // Getting the value of the PK
    var pk=tr.lastChild.getElementsByTagName('input')[1].value;
    //alert('PK='+pk);
    var l_cellindex=td.cellIndex;
    var l_column=g_headers[l_cellindex].id;
    var app=html_GetElement('pFlowId').value;
    var pg=html_GetElement('pFlowStepId').value;
    var get=new htmldb_Get(null,app,'APPLICATION_PROCESS=session_auto_update',pg);
    get.add('G_ITEM1',l_column);
    get.add('G_ITEM2',this[this.selectedIndex].value);
    get.add('G_ITEM3',pk);
    //alert('COLUMN='+l_column+',VALUE='+ this[this.selectedIndex].value+',PK='+pk);
    gReturn=get.get();
    if (gReturn) { alert(gReturn); this.focus();}
    get=null;
    }

  • What is the syntax for the mdx offset in universe designer?

    Hi everybody!!!
    I wish someone could help me with my mdx syntax. I made an universe with Universe designer (BOEdge 3.1) from a BW query and I'm trying to create in this universe an object with an offset.
    My new object has to be the result of the [0CALYEAR].[LEVEL01] with "- 1" offset, is it possible???
    I tried to put the code in the select or in the where fields of the object but without results. When I try to make a query in webi rich client this "new object" doesn't work...
    Please help me...
    Dario

    Hi Ingo,
    thank you for the reply.
    I tried to use that document...the problem is when I put the code in the object (inside univ des) and I analyse the code using the button, the syntax is every time without errors. When I try to make the query in webi rich client , if I use that object the software shows a window with error.
    I used these code in the "where" field:
    1. <EXPRESSION>@SELECT([0CALYEAR].[LEVEL01])-1</EXPRESSION>
    2. <EXPRESSION>@SELECT(Anno calendario\L01 Anno calendario)-1</EXPRESSION>
    the problem is to find the right syntax for what I want...the -1 offset for the new object from the OCALYEAR. I need that if in webi I select from the object filter [0CALYEAR].[LEVEL01] the value 2010 - in the new object will be 2009 etc...
    Dario

  • What is the syntax for this?

    Hi,
    I'm new to CF and am trying to create a security layer for a
    page that has some links where users can download a program.
    I am trying to say, "If you're not logged in and you request
    "myapplication.cfm", abort and go back to the index page. What is
    the correct syntax for this? Also, could you please spell it out
    since, as I said, I'm new to CF and to programming. Thank
    you!

    AmyEverAfter wrote:
    > I was putting it in the Application.cfc file.
    >
    > The OnRequestStart function doesn't seem to work for
    what I'm doing.
    OnRequestStart has always worked for me for this type of
    function. But
    as I have no clue to what you are doing, I can't say why it
    is different
    for you then for me.
    Have you reviewed the example in the documentation?
    http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_14.html
    http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_15.html
    http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_16.html
    http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_17.html
    And the entire section on Securing Applications in the
    ColdFusion
    Developer's Guide?
    http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_01.html
    If you have and are still having trouble, we need to know
    what the
    actual problem(s) is|are, how you have tried to solve them
    (i.e. code)
    and what the results where as well as any error messages
    generated.

  • URL target on a button.  What is the syntax??

    I can't for the life of me fine any references to the syntax for the URL target attribute of a button. What is it?
    I need to execute a javascript function prior to leaving the page via a button. Do I place its call in the URL target? I actually want to redirect to a page in the current application but there is no place to create 'additional link attributes' like in a column link.
    any help appreciated.
    regards
    Paul P

    Paul,
    I may have a work around for you. Here are the steps I took to call a function and then branch to another page.
    </br>
    <ol>
    <li>Create a 'Display as Text' item, do not enter a label value and select 'No Label' for the template option.</li>
    </br>
    <li>In the Pre Element Text area insert an opening anchor tag with the following text href="javascript:function()" replace 'function' with the actual name of the function you would like to call and enter any parameters.</li>
    </br>
    <li>In post element text close your anchor tag.</li>
    </br>
    NOTE for steps 2 and 3 you can also inclue an img tag to make the display item appear to be a button. Otherwise you can enter any text in the default value and that is your link.
    <li>In the very last line of your function add the folowing text: doSubmit('NewPage');</li>
    <li>Create a page branch and set the page attribute to the desired page. ex. 160</li>
    <li>Set its condition to"Request = Expression 1"and enter the text "NewPage" for Expression 1</li>
    </ol>
    This will call your function and then the submit at the end of the function will trigger the branch to a new page.
    Let me know if it helps or if you could find a better way.
    - Ghoulies

  • How to skip the spaces, ' etc when passing the parameter to srw.run_report?

    Hi, I have got problem with passing parameter to srw.run_report. It seems it doesn't take the special symbols such as space, ', etc.. the statement is like:
    srw.run_report('report=test1 p_name='&#0124; &#0124;:p_title);
    if :p_title is "JOE", there is no problem to pass it, but if the :p_title is "JOE LI", then the value of the parameter can be passed to p_name.
    Does any one know how to skip those special symbols in the string when passing it to srw.run_report. Thank you very much.
    Joe

    Hi,
    Try this :
    srw.run_report('report=test1 p_name='&#0124; &#0124;
    chr(34)&#0124; &#0124;:p_title&#0124; &#0124;chr(34)
    );

Maybe you are looking for

  • Problems creating a new folder when using webmail

    Hi, has anyone else out there encountered problems when trying to create a new folder when using webmail ? It just seems to create a new folder called 'New Folder' and misses out the step that would normally allow you to rename it to a title of your

  • Mac Pro extremely slow doing anything

    Mac Pro, Dual-Core Intel Xeon, 2.66 ghz, 4 GB memory Help needed . . . My boot disk died and not able to mount anywhere Passed all TechTool Pro hardware tests, tests ran at normal speed Won't boot from Retail Leopard 10.5 disc Startup with original O

  • Designing in SSRS( Begining Qty field)

    Hello, I need help on how to create a field. This is the scenario. There is a table containing transaction list as thus; Item number: Hace Date         Doc num         Qty   Cost       Amount  Bal 2/5/12         345               6      6           

  • Can't save Photoshop edits...

    If I open an iPhoto photo in an external editor, Photoshop CS3, I am unable to save the edited file back into iPhoto. I see a grayed-out iPhoto library instead--the photo appears in my Pictures folder but not in iPhoto. This happens with both RAW and

  • HT4623 iPad has iOS 5 and won't update to 7

    Whenever I go to the software update in the setting, it claims that the software is all up to date. It says the same thing when I plug it into iTunes. Any suggestions on how to update it?