Passing two variables in the body of the URL using the go to detail page SB in ASP

Hi all,
Would appreciate your assistance with the following, I'm
trying to set up a go to detail page sb that passes two variable in
the body of the URL rather than the standard one.
The code i've tried is -
<td><A HREF="gggggggtest.asp?<%=
Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
"PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
%>&amp;"PCL1ID=" +
othermenutwo.Fields.Item("PCL2PC1ID").Value
%><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
Where the PCL1ID and the PCL2ID are the variables
The normal code generated by the go to detail page sb with
one variable is -
<td><a href="ggggggtest.asp?<%=
Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
"PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
%>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
Unfortunatley my code tweaking isn't working as the second
variable isn't being sent, any help would be gratefully appreciated
Thanks

Instead of using DW's 'go to detail page' option, simply set
up the link the manual way in DW using the Link browser. Select the
file you want to link to and then use the parameters button at the
bottom of the 'Select File' dialogue to set the parameters to be
passed with the link. You can then manually set the name of the
parameter to be passed and then select its value from a recordset.
The key thing is that you can set as many parameters as you like,
so you can set both the parameters you want.
On the detail page you then filter by the parameter name you
chose (or both).
Personally I always code links this way rather than using the
go to detail page option as you get much better control of what is
going on.

Similar Messages

  • How can I pass environment variables to the child process?

    How can I pass environment variables to the child process? This is what I tried and it didn't work.
         static public void main (String[] args) throws Exception {
              ProcessBuilder b = new ProcessBuilder("java", "-cp", ".", "Child");
              Map<String, String> map = b.environment();
              map.put("custom.property", "my value");
                 b.redirectErrorStream(true);
              Process p = b.start();
              BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
              String line = null;
              while (null != (line = reader.readLine())) {
                   System.out.println(line);
         public static void main(String[] args) {
              System.out.println("The value of custom.property is : " + System.getProperty("custom.property"));
         }and the result is:
    The value of custom.property is : null

    Complete test:
         static public void main (String[] args) throws Exception {
              ProcessBuilder b = new ProcessBuilder("java", "-Dcustom.property=my property value", "-cp", ".", "Child");
              Map<String, String> map = b.environment();
              map.put("custom.property", "my environment value");
                 b.redirectErrorStream(true);
              Process p = b.start();
              BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
              String line = null;
              while (null != (line = reader.readLine())) {
                   System.out.println(line);
         public static void main(String[] args) {
              System.out.println("Property value of custom.property is : " + System.getProperty("custom.property"));
              System.out.println("Environment value of custom.property is : " + System.getenv("custom.property"));          
         }

  • Can we Pass two variable values in to one Varaible which is Cust Exit?

    Hi all,
    Can we pass two Variable values to a Variable which is Custexit?(For Example posting Period and the fiscalyear in to the FicalPeriod )
    Regards
    Kiran

    Hello,
    For that example you had to "convert" both post period and fiscalyear into fiscalperiod, and yes it is possible, but not throwing up the two values, you had to do it yourself in the user exit code.
    Diogo.

  • ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.

    Dear friends,
    Please help me with this scenario.Thanks so much for your help.
    Task: ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
    Need to create a new item on this page called "approver notes" (column notes).
    Can this be achieved by personalization?
    Scenario:
    On credit request details page disputed invoice number, request date, status, bill to, ship to, etc are displayed.
    When the status is "not approved”, item should be displayed along the "rejected" comment.
    If the status is other than "not approved" then the item should not be displayed.

    what page is this ? are you sure it is a OAF page ?
    If it is a OAF page, you would need to extend the controller to fire a partial action for the item and then control the display property of the comments field
    Tapash

  • Inserting a new extension field in the line item details page

    Hi!
    Is it possible to insert an extension field/collection in the line item details page of the master agreement? I have tried supplying several Field ID found on that page on the DISPLAY AFTER field of the extension, but nothing works - the new field still gets displayed at the header page.
    Thanks in advance.

    Hi,
    Line Item is an independent class. You cant add an extension to Line Item through Master Agreement. This is the reason why the extension you add appears on the header tab of Master Agreement.
    When I go to create an extension definition, I don't find Line Item in the drop down of Extended Class Name. So, my guess would be that we cannot create an extension definition for Line Items.
    Let us know if you, or anybody, has a way to achieve it.
    Thanks
    Devesh

  • Way to plot two variables on a chart by selecting the two variables on the front panel?

    Hello,
    I have created a VI to control a tensile tester which controls/outputs the following variables: time, load components in 6 directions, tensile displacements, displacements measured by a capacitance sensor.  
    Is there a way such that there would be only one plot on the Front Panel, and there will be buttons on the front where I can select the variable for the x and y axis when the program is running?  
    I only know how to make a plot using Chart Buffer using only two fixed variables.  The only way I think of doing this is making a plot for every single permutation of variables, then put those plots in Tab Control...is there an easier way?
    Thanks! 

    I have done this a lot in applications to save realestate and simplify the UI.  Basically, I create an enum (or typedef) describing the x or y-axis values I would like to display on a graph.  Using an event structure, you can watch for a change in these selector and re-plot your graph.  You store your data somewhere (possibly in an array) and simply index into that array based on what you want to show.  I attached a short example to illustrate this implemenation.  Hope this helps.  (LV2009)
    -cb
    Attachments:
    Select from multiple curves and axis to plot.vi ‏19 KB

  • CAN I PASS FORM VARIABLES TO THE DATABASE PROCEDURE IN PERSONALIZATION

    When I try to use form variable in the database procedure call from personalization I get the attached error.
    Under forms personalization
    From Actions tab --> builtin --> Execute Procedure when I call a database procedure and pass one of the form variable as parameter I get "ora-01008 couldn't be validate" error
    Can we pass on form variables to the database package using personalization ? If yes, then is this the right way?
    Message was edited by:
    omitchel

    I tried customizing the Quoting Form, it works.
    What you have done is correct, but this is how you call it
    ='begin
    db_proc('''||${item.qothddet_main.quote_name.value}||''');
    end'
    here
    qothddet_main : block name
    quote_name : item name
    Thanks
    Tapash

  • Child.swf to pass two variables to parent in global function

    Hi, I have a parent.swf and wish to load a varying child.swf as a sub-menu. How do I establish a global function that will allow the child.swf to pass back two variables (storyName & storyType) to the parent and kick off a task.
    The submenu (swf) items will change so I cannot explicitly add a listener to a child.button. The submenu is on a children’s library so will have numerous graphics and movieclips included so I don’t think it would be suitable to simply call xml data to build a menu at runtime (at my level of knowledge). There will be a number of child.swf depending on books available.
    I am not familiar with package { and public class { etc...
    In as2 I would have used a _global.function() and used that to pass the variables back to the parent and then start a parent.action.
    Totally new to AS3, suggestions appreciated. I have no problem loading the child.swf.

    Hi Ned, thank you for your response. I don’t know if it is relevant, but the container clip is run via AIR. That seems to affect some things as I’ve lost fullscreen functionality somewhere.
    I tried you suggestions, if I have translated it into place correctly I don’t know. Do I need to treat the parent.parent as a variable (yes this one is done via a loader) ?
    I get an error if I leave the function call open, I can tell I’m getting into the call as the trace on each side is happening.
    In the External Movie:
    blob_b.addEventListener(MouseEvent.CLICK, ms_bF);
    function MbRemEL(nameof:String):void {
                blob_b.removeEventListener(MouseEvent.CLICK, ms_bF);
    function ms_bF(event:MouseEvent):void {
                var m_ar:Array = new Array();
                m_ar=event.target.name.split("_");
                MbRemEL("r");
                trace("StoryMenu: "+event.target.name);
                if (this.parent.parent != null){
                            MovieClip(parent.parent).story = event.target.name;
                            //MovieClip(parent.parent).gcr(event.target.name);
                             // = TypeError: Error #1006: gcr is not a function.
                            MovieClip(parent.parent).gotoAndStop("g_home");                   
    In Container Movie:
    function gcr(stry:String):void{
                trace("gcr: "+stry);

  • How to pass a value of the radiogroup to another page item

    Hi, I have a report with one column as a radiogroup. I have a process that execute the next code when I press a button:
    begin
    for i in 1..htmldb_application.g_f01.count
    loop
    update mesa_entrada set retomada = sysdate where id = htmldb_application.g_f01(i);
    end loop;
    end;
    I want to set the value of the item in another page with the value of the selected radiogroup, How i have to do?
    any suggestion will be welcome!
    Thanks!

    I have the same problem.
    On the new page the global variable HTMLDB_ITEM.G_F01 has 0 values.
    I created a process like this in the new page:
    :P300_FILENAME := HTMLDB_APPLICATION.G_F01.count;
    FOR I IN 1..HTMLDB_APPLICATION.G_F01.COUNT
    LOOP
    :P300_TEST := HTMLDB_APPLICATION.G_F01(I);
    END LOOP;
    and P300_FILENAME gets 0 and P300_TEST is empty. Any sugestions?

  • Passing two variables from LabView to Javascipt program or Vice Versa

    Ok let me be blunt here. Below is my code to move a ethernet camera. As you can see from the code when the page is opened up you are immediately prompted to enter values for a X-coordinate and a Y-coordinate. Once your value has been inputted in, the camera moves based on the values. Fantastic right? Here is where i'm scratching my head. My Labview program basically takes in sound (short-version here) and is able to determine the position of where the sound is coming from in a x, y value (NOTE: the program  THUS far has been able to determine the position but has not been worked on to output to a x y value. But for argument sake let's say it does). My question to all of you is this I have read other theads that asked this and noticed that the code (highlighted in blue) is what they think would do the trick. However, this needs to be constantly working. Meaning my program needs to be constantly be feeding data to the X Y coordinate OR it constantly needs to be prompted through Labview. I dont know what would work best or even what is feasible at this point.
    Any help, suggestions comments or opinions anything would be greatly appreciated.
    <script type = "text/javascript">
    <!--
    var x,          // x variable axis
        y,          // y variable axis
        counter;    // Basic Counter
    var newWindow; //varibale to open up new windows
    // The following code should be used to implement Labview into this program
    // This code has been unmodified since it was given to me
    // NOTES: Consider intializing lvapp and vi and variables
    // NOTES: The response function should be changed to X and Y
    // NOTES: The parameter "Output" should be whatever the Team uses to distinguish X and Y
        lvapp = new ActiveXObject("Labview.Application");
        viPath = "C:\\test.vi";
        vi = lvapp.GetVIReference(viPath);   // Load the vi into memory
        vi.FPWinOpen = 1;                    // Open front panel
        vi.SetControlvalue("Input",125)      // set the input parameter, 125 is just a sample
        vi.Run();                            // run the VI here, the "Call"-methode without parameter
                                             // does not work since it uses
                                             // the defaults of the controls
        response = vi.GetControlvalue("Output")  // get the output parameter    
        alert("Result from LV:"+response);  */
    // Initialization Phase
    counter = 0; // prepare to loop
    ccounter = 0;
    while ( counter <= 0 ) { // loop 1 times
            // prompt for input and coordinate from user
            x = window.prompt( "Enter X-axis coordinate:", "0" );
            // prompt for input and coordinate from user
            y = window.prompt( "Enter Y-axis coordinate:", "0" );
            counter = counter + 1;
    //if statement frame for camera control
    //Home position
    if (x==0 && y==0)
        newWindow = open('http://192.168.0.3/cgi-bin/camctrl.cgi?move=home', 'secondWindow',
            'scrollbars,resizable,width=500,height=400');
        if (newWindow && !newWindow.closed) {
                newWindow.close();
    if (x==1 && y==0)
        newWindow = open('http://192.168.0.3/cgi-bin/camctrl.cgi?move=right','secondWindow',
            'scrollbars,resizable,width=500,height=400');
        if (newWindow && !newWindow.closed) {
                newWindow.close();
    // -->
    </script>
    </head>

    I know that it's not very elegant, but how about writing the data to a file which could be read by the other application?  You could use some sort of locking scheme or queue to make sure the data stays current.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Can't view the Database source details page

    Hi,
    I am trying to create a database source.
    Sources -> select a Database,
    then clicks on the Create button.
    It's going to next page. but, Nothing display this page. I am trying to create some other sources. Its display the corresponding details.
    I tried to remove my local cache files and also restart the search server. But, nothing display in this page. Anything wrong?
    FYI: Yesterday i tried,
    Sources -> select a Database,
    then clicks on the Create button.
    It's displays the database source details.
    Thanks!
    Message was edited by:
    user633593

    Not sure I understand your problem.
    What should happen:
    1. In the Admin screen, you click on the "Sources" tab.
    2. This lists all your current sources (if any).
    3. Then you open the drop-down list next to "Source Type" and choose "Database".
    4. Click "Create"
    5. This should open a page "Create User-Defined Source: Step 1: Parameters"
    where the first parameter listed in "Database Connection String".
    Are you saying you get a blank page instead of step 5?
    What version of SES do you have? (It should be listed at the bottom of the first Admin page). If it's less than 10.1.8.2 I would strongly recommend you upgrade.

  • Getting error which passing a variable to the cursor

    hi all,
    i am passing pl/sql table value into the sql cursor
    DECLARE
      CURSOR cr(i_oList IN tList) IS
        SELECT SOMETHING
          FROM SOMETABLE
         WHERE SOMECOL IN (SELECT COLUMN_VALUE FROM TABLE(CAST(i_oList AS tList));but i am getting following error :invalid variable declaration 'tList' must be type or subtype.
    please help me

    HI,
    i changed my code to
    DECLARE
    CURSOR cr(i_oList tList) IS
    SELECT SOMETHING
    FROM SOMETABLE
    WHERE SOMECOL IN (SELECT COLUMN_VALUE FROM TABLE(tList));
    still getting the same error as i mentioned before
    "invalid variable declaration: object tlist must be type or subtype                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Two variables in the name of a table in the FROM clause.

    Hello,
    I ve got a problem making this work:
    SELECT *
    FROM tablename_YY_MM
    (This is part of the script I need to use YY and MM in various tables)
    I need to find a way so the script will ask me every time about the YY and MM
    For example the current table name is "tablename_09_08" next month it will be "tablename_09_09"
    It looks simple but I can't make it work. It seems to be a problem with concatanation || and the underscore _
    Looks like it should be done with PL/SQL ?
    If anyone can help it will be much appreciated.
    Thank you.
    Edited by: user1067236 on Aug 11, 2009 2:21 AM
    Edited by: user1067236 on Aug 11, 2009 2:23 AM

    Hi,
    That's easy to do using substitution variables in SQL*Plus:
    SELECT  *
    FROM    tablename_&year_num._&month_num;Note the . after &year_num; it is necessary to indicate that the next _ is not part of the preceding name.
    You can also use the SQL*Plus ACCEPT command to prompt the user for values, with a detailed message.
    ACCEPT  year_num  PROMPT "Please enter year number (2 digits only, such as 09): "Edited by: Frank Kulash on Aug 11, 2009 5:29 AM

  • How to pass a variable to the shell script and crontab?

    Friends,
    here is my script.....
    exp userid=username/password@realdb file=/u02/logical_backup/abc_+$date+.dmp log=/u02/logical_backup/abc_+$date+.log owner=oraadmin statistics=none
    i want the exported file name as abc_2101.dmp and abc_2101.log (2101 is a date and month)
    I want to execute this script daily at 02:00 AM.
    so that i edited the crontab -e as....
    00 02 * * * ./u02/script/dailybkp.sh
    Now what i want is....
    1. is the steps are correct for crontab -e?
    2. Is the script of the crontab will execute daily at 02:00 AM?
    3. how can i rename the .log filename and .dmp file name daily according to the date. for example abc_2001 is today's date and month.how can i replace with the variable.
    thanks
    sathyguy

    sorry....i tested with cp command it was working fine...
    so, i thought it should work for exp command also.
    but its not working....also its not throwing any error....
    the crontab -e is having...
    00 02 * * * exp userid=system/password@realdb file=/u02/test/n22.dmp log=/u02/test/n22.log owner=scott statistics=none
    also i have tested by calling the script.
    #!/bin/bash
    00 02 * * * /u03/script/testbkp.sh
    its not working
    but the below one is working....
    00 02 * * * cp /u02/test.txt /u02/test/test.txt
    also this one is working....
    #!/bin/bash
    00 02 * * * /u03/script/testbkp.sh
    i listed the chkconfig --list crond
    crond 0,1,6 = off
    2,3,4,5 are on
    what might be the reason?
    thanks
    sathyguy

  • How to make two variable always the same in flex?

    private var nsPlay : NetStream = main.media.nsPlay;
    When nsPlay changes,main.media.nsPlay should change accordingly;vice versa.
    How to achieve that?

    Hi Lee,
    Its very much possible for 2 portals to make use of one datasource for UME.
    Lets assume for a scenario sake we are using an LDAP server as the UME for portals environment...so you would simple need to point for the UME's to the LDAP datasource.
    If you have something in particular do post back
    Thanks,
    GLM

Maybe you are looking for

  • Getting Short dump When Executing MIGO:    SYNTAX_ERROR

    Please Help, I am getting this dump, when i hit MIGO transaction Runtime Errors         SYNTAX_ERROR Date and Time          10.12.2008 08:28:03      Short text           Syntax error in program "MB_MIGO_BADI==================CP ".      What happened?

  • Lion Mail bug is not loading all mail. It continuously downloads.

    My exchange email account is working fine and yet my gmail account is the problem. it loads the preview pane but when i select an email nothing loads. every time i open mail it acts as if it is downloading my entire imap account all over again. I hav

  • How to show swiss  franc symbol(₣) in reports 6i ?

    Hi, I want to show the quantities with the currency symbols in my reports. Its properly showing $ but franc symbol is not coming. I tried hard coding the symbol , its not even getting pasted in the column formula (coming as inverted question mark). P

  • Select-option of a  variable is acting wierd in web report

    Hi, I am getting the following error in web report when I click a select option button of variable. Has any of you come across this situation ? Error:  <b>"System error in program CL_RSR_WWW_RENDERER and form GET_VARDEF_FOR_F4:03 (see long text)"</b>

  • How do i get rid of this error?

    hi experts, I was trying to upload fonts into SAP, and i got this error please help with a means of resolution Administration/Upload of type 1 and TrueType font files   File   C:\Documents and Settings\tchaibva\My Documents\Fonts\Goudy Old Style.ttf