How to pass a bind variable from one SQL Report to Another

Hello~
I've created a link on one SQL Report page (Page 1). I would like a value from Page 1 used in the SQL on Page 2 to determine the result set. The Where Clause in SQL Query containing the bind variable is as follows:
AND hp.party_name     = ':District_Account'
When I run Page 1 and click on the link to execute Page 2, I get 'No Data Found'. The setup of the link is as follows:
Column_Name = District_Account
Link Text = #District_Account#
Target = Page in this application
Page = 2
I'm a rookie working in V1.6...any help would be greatly appreciated!
Thanks,
Becky

I don't see any parameter being passed in that URL. A little sample: http://htmldb.oracle.com/pls/otn/f?p=33203:4<br>
when you click on the edit link the URL looks like this:<br>http://htmldb.oracle.com/pls/otn/f?p=33203:5:16073998852455071705::NO:5:P5_TABLE_NAME,P5_OWNER:PRESIDENTS_THEMES%2CBLUETEST<br><br>
where P5_TABLE_NAME and P5_OWNER are the items and PRESIDENTS_THEMES and CBLUETEST are the values.<br><br>
The SQL on the filtered report looks like:<br>
SELECT *
FROM all_tab_cols
WHERE table_name = :P5_TABLE_NAME
  AND owner = :P5_OWNER<BR><BR>

Similar Messages

  • How to pass Unix environment variable to a SQL procedure or SQL * Plus

    Can any body suggest me how to ,
    How to pass Unix environment variable to a SQL procedure or SQL * Plus file..
    I am trying to invoke a SQL Procedure from Unix
    by passing the value of a Unix environment variable.
    Is it possible..?
    Thanks in advance.
    Regards,
    Srinivas Jaltaru

    Within your shell script you can use what is known as a "here document" which is basically a way of wrapping a call to Oracle. The following call to Oracle loops and writes rows to files with numerically increasing file names. Two unix shell variables are used, one in a select statement and one in a spool command :
    <pre>
    #!/bin/bash
    export ORACLE_SID=DEV05
    FILENO=1007351
    while [ ${FILENO} -le 1008400 ]
    do
    FILENAME=farm_${FILENO}.txt
    DUMMY=`sqlplus -s user20/user20 <<SQLSTOP
    set lines 73
    set pages 0
    set head off
    set termout off
    set echo off
    set feedback off
    select rpad(searchx, 8)
    from blastx@PRODUCTION
    where searchx = ${FILENO} ### here's a shell variable
    spool /export/home/user20/sql/psiblast/BACKUP2_D/${FILENAME} ### here's a shell variable
    spool off
    SQLSTOP`
    FILENO=`expr ${FILENO} + 1`
    done
    exit 0
    </pre>

  • How can I move purchased apps from one itunes account to another account?

    How can I move purchased apps from one itunes account to another account?

    You can't. The apps must be purchased separately.

  • How do I transfer selected photos from one iPhoto library to another?

    How do I transfer selected photos from one iPhoto library to another?

    iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -
    Generally it is not advised to have multiple Photo libraries - but if you do you need IPLM to manage them
    LN

  • Hi I have 2 apple id's one which has pulled through everything except my calendars and one which has pulled through just my calendars. How do I move my calendars from one apple id to another?

    Hi I have 2 apple id's one which has pulled through everything into icloud except my calendars and one which has pulled through just my calendars. How do I move my calendars from one apple id to another so that I can see everything in icloud with one apple id?

    Having read some other posts I think I have answered my question. If I was somehow able to terminate my old (unwanted) account and Apple ID I would no longer be able to access the material I bought with that ID-  so I'm stuck. I have to learn how to manage that situation.
    This is unfortunate for Apple consumers. Life is complicated for families these days and this "rule" although it is in place to prevent cheating and fraud makes things unnnecessarily difficult for me and my family as in my niaevity (sic) with the online world I bumbled into this situation. Not everyone is out to rip off Apple - one of the worlds richest corporations- or the entertainers who market their work through iTunes.I would just like to be able to enjoy the entertainment I pay for where and when I like to on whichever computer is available to me. And I'm not terribly computer literate.   
    It would have been nice to have had the opportunity to speak just once to a real person in the employ of Apple to explain my situation to them.

  • HT4527 how can i transfer my purchases from one windows pc to another without having access to the pc with the music on as it is broken

    how do i transfer my purchases from one windows pc to another without having access to the pc with the music on it , as it is broken ?

    on new pc - open itunes.  sign into your account.  go to settings.  authorise the pc you are now using.  go to account in itunes store.  download purchases.  simples.

  • How do I share my music from one Appel device to another ?

    How do I share my music from one Appel device to another ? ie From mi Imac to my Iphone ?
    Can I retrieve easily all the music I bought on I tune ?

    Click here and follow the instructions.
    (89891)

  • How do I share several contacts from one iCloud account to another?

    How do I share several contacts from one iCloud account to another iCloud account?

    Hi charlesfromlymington,
    Welcome to the Apple Support Communities!
    I understand that you would like to share a contact. Please use the information in the iOS 8 iPhone User Guide (page 139) for information on this process. When the recipient receives the contact, if iCloud Contacts are enabled, it will be added to their Contacts.
    manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    Share a contact. Tap a contact, then tap Share Contact. See Share from apps on page 35.
    Cheers,
    Joe

  • How do i move a picture from one pdf-file to another already created pdf-file with adobe reader?

    How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?

    Reader doesn't have editing capabilities.

  • HT5538 how can I transfer several apps from one Apple ID to another?

    How can I transfer several apps from one Apple ID to another?

    Apps purchased by an Apple ID are forever associated with that ID.    Purchases can't be transfers to another Apple ID.

  • How do I copy a page from one pdf  document to another?

    I am a newbe!

    That was easy.Thank you.
         Re: How do I copy a page from one pdf document to another?
    created by George Johnson in Creating, Editing & Exporting PDFs - View the full discussion
    If you open both documents, you can drag a page from the Pages panel (on the left of the window) of one document and drop it into the Pages panel of another.
    You can also extract one or more pages from a document to create a new document, and then insert the pages from this new document into another. In Acrobat 11 you 'd do this by doing:
    Tools > Pages > Extract
    and then:
    Tools > Pages > Insert from File
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6163925#6163925
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6163925#6163925
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6163925#6163925. In the Actions box on the right, click the Stop Email Notifications link .
    Start a new discussion in Creating, Editing & Exporting PDFs at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0 .

  • How can i change the data from one Time Capsule to another?

    How can i change the data from one Time Capsule to another?

    Do you mean copy it?  If so, see #18 in Time Machine - Frequently Asked Questions  You'll need section 2 there.
    If you mean something else, please clarify.

  • How do i create and pass a global variable from one vi to several sub-vi's?

    Hi Guys,
    I am trying to create a program that opens several front panels (sub-VI's) in sequence. in each front panel, the user would open a file that the name is obtained from the previous sub-VI. I would like to know how i could pass the filename and refnum of the file thorough from one sub-vi to another. A global variable would do it in VB, but how do we do global vars in LABWIEW. thanks
    Papish

    I put together a sample VI and Sub VI that illustrates how to pass a Refnum and access a data file while in a Sub VI.
    For multiple VIs just repeat the sub VI process.
    You probably don't wanna use a Global Variable if not needed (can add to the mess down the road haha).
    Let me know if it helps you out! Or if I can clarify anything else!
    Chances are if you have seen VI in the forest it hasn't fallen.
    Attachments:
    Passing Refnum.zip ‏21 KB

  • How to pass the bind variable value to the sql statement of the LOV

    Hi,
    I am using Forms 10g builder.
    I have a text item which will be populated by a LOV when i press a button, but i have a bind variable in the SQL statement of the LOV. That bind variable should be replaced by a value which is derived from a radio group in the same data block.
    For Ex: ( )radio1 ( )radio2
    before i click on the push button, I'll select one of the radio button above,so my question is how to assign this radio group value to the bind variable in the sql statement in the LOV?
    Pl any hint is appreciated!
    Thanks
    Reddy

    The variable can be taken into account in the SELECT order contained in the Record Group used by the LOV.
    e.g. Select ... From ... Where column = :block.radio_group ...Francois

  • How to pass a form variable from page to page

    I have a series of 4 forms on 4 pages that update a database.
    A variable from one of the forms (doesn't matter which one, if it's
    easier one way over another, let's go that way) is passed to the
    last page, where a PayPal button will appear based on the value of
    the form variable. I am using ASP javascript and an Access
    database.
    Thanks.

    jennivazquez wrote:
    > I have a series of 4 forms on 4 pages that update a
    database. A variable from
    > one of the forms (doesn't matter which one, if it's
    easier one way over
    > another, let's go that way) is passed to the last page,
    where a PayPal button
    > will appear based on the value of the form variable. I
    am using ASP javascript
    > and an Access database.
    Either store the variable in a hidden field in the
    intermediate forms,
    or use a session variable.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • Blue Ray player not working after upgrading to windows 7

    I upgraded my HP Pavilion  m9517c-b desktop PC bundle (part number FQ575AA) which includes: m9517c Desktop PC, part number FQ574AA# ABA   to windows 7 from Vista  home 64. This upgrade now prevents the HP mediasmart program to play blue ray DVD's  gi

  • I've got a new mac. How can I transfer all in the old mac to the new one?

    I'm currently working with a MacBook. I've just got a new MacBook pro and would like to know how to copy all apps and files in the new one, without desinstalling and reinstalling

  • Strokes Not Working

    Hi everyone. I am having an issue with applying strokes to images. I have PhotoShop CS5 installed on two PCs, both from the same source download file (part of E-Learning 2 Suite). On one PC the Edit > Stroke effect works absolutely fine, as evidenced

  • Photoshop Elements 10 download

    I purchased Photoshop Elements 10 in Nov. 2012 and just bought a new computer after my old one crashed.  I need to download Photoshop Elements 10 and can only find Elements 11.  Please help me.

  • What server side objects to pin in shared pool?

    On the first invocation of Java-based image.process(...), processing can take up to 30 seconds. Second run takes less than a second, but a final invocation a few hours later is back to 30 seconds. My DBA suspects that the server side objects are cach