Urgent help required - linked subreport keeps asking for parameter value

Greetings,
I have developed a report in the Crystal Reports bundled with Visual Studio 2005. The data is obtained from a stored procedure. One of the fields in the result set is named "Id".
I have embedded a subreport in the details row of the main report. The subreport also gets its information from a stored procedure. This stored procedure has one parameter named "OpportunityId". This field is linked to the field named "Id" above. the subreport has been set to supress blank subreports.
In the development environment and running the executable of the application on the development machine the report works perfectly. The subreport displays as it should and all is well.
When I deploy the report onto user machines where they have the crystal runtime installed, the report keeps asking for a parameter value for the subreport.
I cannot get this to stop happening.
This report is urgently required. PLEASE could someone help me out here.
I am at my wits end.
I have attached a zipe file containing the following:
- the two stored procedure
- the rpt file
- a sample report
- a screen showing the report having just been generated
Thanks in advance,
Robert Lancaster

<p>Hi Robert,</p><p>I see your report template and stored procedures. All seems to be ok. <br /></p><p>The most important is to assign the report parameters for all linked subreports (only one in your case).</p><p> </p><p>Try this (in C#, in VB.NET the code are very similary): </p><p>ReportDocument report = new ReportDocument(@"TopFortyReport.rpt");</p><p>AssignParameters(report, paramCollection);</p><p>// and now assign parameters to all linked subreports </p><p>foreach( CrystalDecisions.CrystalReports.Engine.Section section in report.ReportDefinition.Sections)</p><p>{</p><p>    foreach (CrystalDecisions.CrystalReports.Engine.ReportObject reportObject in section.ReportObjects)<br />    {</p><p>        if (reportObject.Kind == ReportObjectKind.SubreportObject) </p><p>        {</p><p>            SubreportObject subReport = (SubreportObject)reportObject;</p><p>            ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName);                                               AssignParameters(subDocument, paramsCollection);</p><p>        }</p><p>} </p><p> </p><p>void AssignParameters(ReportDocument report, object[] paramsCollection)</p><p>{</p><p>    int nParams = paramsCollection.Length;</p><p>    for (int iParamIndex = 0; iParamIndex < nParams; iParamIndex++)</p><p>    {</p><p>        if (report.DataDefinition.ParameterFields[iParamIndex].IsLinked())</p><p>            continue;</p><p>        report.SetParameterValue(iParamIndex, paramsCollection[iParamIndex]);</p><p>    }</p><p>}</p><p> </p><p> </p>

Similar Messages

  • Urgent Help Required !!!! For using Netscape to open Form on the Intranet

    Hi ,
    I am successfully able to open Form application in a seperate window using IE 5.0.
    I would like to do the same with Netscape Navigator 4.7. The Navigator justshows a page which asks me to download the plugin and then even after I install the plugin it does the same thing over and over again.
    Please help !!!!!
    Regards,
    Rinas

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Timpone ([email protected]):
    Which version of the JInitiator are you using. In any case, your HTML must specify the correct classid and version in the HTML section for IE as well as the HTML section for Netscape.
    Below is a sample for JInitiator 1.1.7.27 running forms v6.0
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="">
    <title></title>
    <!-- FILE: static.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
    <!-- Rename, and modify tags and parameter values as needed -->
    </head>
    <body bgcolor="#FFFCE8">
    <p><font size="1"><br>
    <br>
    <br>
    </font></p>
    <p align="center">
    <object classid="clsid:093501ce-d290-11d3-a3d6-00c04fa32518"
    codebase="<<your server and path of JInitiator Plug-in goes here>>jinit11727.exe#Version=1,1,7,27"
    align="baseline" border="0" width="1024" height="786">
    <PARAM NAME="CODE" value="oracle.forms.engine.Main">
    <PARAM NAME="CODEBASE" value="/web_code/">
    <PARAM NAME="ARCHIVE" value="/web_code/f60all.jar">
    <PARAM NAME="type" value="application/x-jinit-applet;version=1.1.7.27">
    <PARAM NAME="serverPort" value="4321">
    <PARAM NAME="serverArgs" value="module=<<your form path and name goes here>>">
    <PARAM NAME="serverApp" value="default">
    <PARAM NAME="lookAndFeel" value="oracle">
    <PARAM NAME="separateFrame" value="true">
    <font size="1">
    <COMMENT>
    <embed align="baseline" border="0" width="800" height="600" type="application/x-jinit-applet;version=1.1.7.27"
    java_code="oracle.forms.engine.Main"
    java_codebase="/web_code/"
    java_archive="/web_code/f60all.jar"
    serverport="4321"
    serverargs="module=<<your form path and name goes here>>"
    serverapp="default"
    pluginspage="<<your server and path of JInitiator Plug-in goes here>>"
    colorscheme="Titanium"
    lookAndFeel="oracle"
    separateframe="true">
    <NOEMBED>
    </COMMENT>
    </NOEMBED> </font></object><font size="1"> </font></p>
    </body>
    </html>
    Below is a sample with JInitiator 1.1.5.21 with forms v5.0
    <HTML>
    <!-- FILE: static.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
    <!-- Rename, and modify tags and parameter values as needed -->
    <HEAD><TITLE></TITLE></HEAD>
    <P>
    <OBJECT classid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC"
    WIDTH=20
    HEIGHT=20
    codebase="<<your server name and path for JInitiator Plug-in goes here>>jinit115211.exe#Version=1,1,5,21">
    <PARAM NAME="CODE" VALUE="oracle.forms.uiClient.v1_4.engine.Main" >
    <PARAM NAME="CODEBASE" VALUE="/web_code/" >
    <PARAM NAME="ARCHIVE" VALUE="/web_code/f50all.jar" >
    <PARAM NAME="type" VALUE="application/x-jinit-applet;version=1.1.5.21">
    <PARAM NAME="serverPort" VALUE="4321">
    <PARAM NAME="serverArgs" VALUE="module=<<your form path and name goes here>>">
    <PARAM NAME="serverApp" VALUE="default">
    <COMMENT>
    <EMBED type="application/x-jinit-applet;version=1.1.5.21"
    java_CODE="oracle.forms.uiClient.v1_4.engine.Main"
    java_CODEBASE="/web_code/"
    java_ARCHIVE="/web_code/f50all.jar"
    WIDTH=20
    HEIGHT=20
    serverPort="4321"
    serverArgs="module=<<your form path and name goes here>>"
    serverApp="default"
    pluginspage="<<your server name and path for JInitiator Plug-in goes here>>">
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    </BODY>
    </HTML>
    Hi Andy,
    Thanks a lot !!!
    Its working perfectly fine now.
    Regards,
    Rinas
    Hope this helps<HR></BLOCKQUOTE>
    null

  • Keeps asking for my password sometimes takes it sometimes doesn't

    I very much appreciate your help and expertise --- Thunderbird keeps asking for my password. I use it for both a non gmail account and a gmail account. Both accounts have repeatedly asked for the password... however the gmail account seems to work better than the other one.
    It doesn't matter if I click the box that says save this password or not.
    I had yesterday reset the password once on the server side of things and thought that had fixed it... but then again today I started getting the same error message that it cannot login to my server.
    I looked through your help boards and cannot find a solution that I understand. There are a couple that seem like they may work but the things they are naming to reset are things I don't even know what they are... Sorry I'm not very techno savvy --

    Delete the password stored in Tools/Options/Security/Passwords/Saved Passwords, OK, restart TB, and enter the correct password when you're prompted at the next network connection.

  • Mail keeps asking for password - new bug???

    Mail has just started asking for my password - every time I start up and click GET MAIL! This is a bug I think cause I go in and check it is a POP setting, I check I have my password typed in. And funnily it keeps deleting my password even though I type it and click save when exiting Preferences.
    I click Remember Password in key chain but when I start Mail again it is not there!!!
    This is really annoying. Just started - interestingly I updated last night my software update?

    I Launched Mail Under the Help Menu I typed Keychain This is from Mail's Help Documentation:
    If Mail keeps asking for your keychain password, your keychain may be set to lock
    after a certain period of time, or when your computer goes to sleep.
    To change the keychain lock settings:
    Open Keychain Access, located in Applications/Utilities.
    In the sidebar, click All Items in the Category section,
    and then select your login keychain.
    Choose Edit > “Change Settings for Keychain ‘login’.”
    To reduce the number of requests for your keychain password,
    deselect the "Lock after [number] minutes of inactivity" checkbox,
    or increase the number of minutes. You can also deselect the
    “Lock when sleeping” checkbox.

  • Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split i have a new laptop and now it keeps asking for the old ID or it'll erase my apps bought on theold account.

    Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split up and now im trying to get all my apps and info onto my new laptop with a new account but it keeps asking me for the old apple ID which she is still using and she changed the password. i tried backing it up but still nohing. When i try to back up purchased items being apps etc its keeps asking for the old one. help

    See Recover your iTunes library from your iPod or iOS device. But you'll still need the password.
    Once you have the computer authorized to use the account she could change the password again to stop you buying apps on her card (assuming it's not on yours!). It would lock you out of upgrading them too but they should work unless she uses the deathorize all feature.
    It depends on how amicable the split is...
    tt2

  • I cannot get the verification email to arrive in my inboxes and when I choose the security question options it tells me my birthdate is incorrect and I know it it not Help trying to reset my iPad to factory settings and keeps asking for a password I can't

    I am trying to put my ipad back to factory settings and it keeps asking for my original Id which is the reason I am needing to reset it.  When I try to do this via password prompts it asks for my date of birth which I enter correctly and it tells me it is incorrect and then trying the email route this does not send any emails to the registered accounts I set up originally - help!!

    My guess is all the issues are probably related and fall back to malware.
    AVG is probably correct in identifying malware. So I suggest you try some cleaning tools other than Emsisoft .
    ones I use (all of them one after the other until I find one that can cope) are;
    Roguekiller http://www.adlice.com/softwares/roguekiller/
    Malwarebytes anti malware Free http://www.malwarebytes.org/mwb-download/var2/confirm/
    ESET online scanner http://www.eset.com/int/home/products/online-scanner/
    So first create a clean boot in Windows using Microsoft's instructions https://support.microsoft.com/kb/929135?wa=wsignin1.0 and then run the anti malware applications.
    My outside looking in guess is that malware has set itself up as an internet proxy and is is downloading copies of itself and other malware, blocking some mail port as times as downloading more malware is more important, and probably breaking your tivo as well..
    Try the malware programs first. If that does not work I will try and talk you through some logging to see what is happening.

  • When I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    I know my passcode is correct but when I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • HP Officejet pro 8500 won't print and keeps asking for a proxy setting. Help.

    HP Officejet pro 8500 won't print and keeps asking for a proxy setting. Help.

    Hi,
    Can you confirm that you have an Officejet 8500a or Officejet 8500? On the 8500a model, you can set the networks proxy address and port setting from the front panel of the printer (setup>Webservices setup>proxy). If you are unsure what your proxy settings are you'll need to contact your network admin. If your network uses a proxy users name and password for all devices, you need to enter this information along with the proxy address and port in the printers embedded web server. Type the products IP address into an internet brownser window (printer must be connected to the same network as PC). Select the network tab, and than look for the proxy settings option. Enter in the information and click apply. Once the networks proxy information has been correctly inputed into the embedded web server, try printing again. If unsuccessfully, you might try reinstalling the printer software after uninstalling it. Hope this helps!
    I was an HP employee
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may select the "Kudos" button on any helpful post to give that person a quick thanks.

  • Keeps asking for password when trying to purchase photobook and will not let me proceed - help!

    Iphoto will not let me purchase photo book. Keeps asking for password . Help!

    What iPhoto are you referring to?  iPhoto for iOS or iPhoto on your Mac?

  • Pages keeps asking for registration code. Help!!

    I had downloaded a 30 day free trial of Pages before I actually bought it and now that I bought it, it keeps asking for a registration number but I don't have one since I bought it off the Mac app store. I cant save any documents or anything! Can someone help me???

    Have you deleted the old Pages copy you downloaded? If not, open Finder, go to Applications folder and do it. Also, delete the Pages copy you downloaded from the App Store. Then, open Terminal (in /Applications/Utilities) and type:
    sudo rm ~/Library/Preferences/com.apple.iWork.Pages.plist
    Finally, open the App Store, go to Purchases tab and download Pages again

  • Lightroom (Cloud version) keeps asking for serial number. [was: HELP!]

    I purchased the creative cloud photography plan. I downloaded creative cloud and tried to start using lightroom but it keeps asking for a serial number and I dont have one I bought it all online and it wont let me use lightroom help!

    Ask for serial number http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html
    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • My iPad mini keeps asking for apple ID to face time then says I'm not connected to Internet when I am. Help please

    My iPad mini keeps asking for apple ID to face time then says I'm not connected to Internet when I am. Help please

    Hi there Mullin1!
    I have a couple of articles here that can help you troubleshoot and resolve this issue. This first article will help walk you through some basic troubleshooting steps for FaceTime, and it can be found here:
    iOS: Troubleshooting FaceTime
    http://support.apple.com/kb/ts3367
    After going through those steps, if you are still having issues with your Wi-Fi connection, then you will want to reference the further steps located in this article:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Menuweather lite app, how to permanately delete this from my app folder, it keeps telling me I cannot delete as it is on??? I don't trust this app, it also keeps asking for my password.  I want it gone! Help please!

    Does anyone know how to permanately delete this from the macbook pro?  I can't trash it, as it keeps telling me it's on????   It also keeps asking for my password.  I don't rust this application and I want if gone.  I'm not a real techie, and I've spent way too much time trying to get rid of this.  Help Please!

    There's also a "quit" in the menubar.  Once it's not active you can delete it.

  • Hello, I've upgraded my Ipad2 to iOS7. I'm facing two major problems. First, I can't connect to the internet(which seems like a common problem). Second, the Autocad WS app doesn't work. It keeps asking for a username/passcode combination. please help guys

    Hello, I've upgraded my Ipad2 to iOS7. I'm facing two major problems. First, I can't connect to the internet(which seems like a common problem), no Wifi connectivity as well. Second, the Autocad WS app doesn't work. It keeps asking for a username/passcode combination. Please help me guys. I will be genuinely grateful.
    Cheers

    Does my problem has anything to do with SSL for mail settings? Cause when I tried re-adding it says something that I should try without SSL, and I did what you said and it gives me this "The IMAP server pop.mail.yahoo.com is not responding. Check your network connection and that you entered the correct information in the incoming mail server field". Ahh.. this is so annoying, Apple what are you doing to me?! Or is Yahoo doing this to me?!
    Thank you for your time. Sorry it doesn`t work.

  • I need to by apps but it keeps asking for my security questions ;/ but  forgot the answers to my security questions and the security/rescue email too (i dont have USA number to call please help me and send my rest to my email

    I need to by apps but it keeps asking for my security questions ;/ but  forgot the answers to my security questions and the security/rescue email too (i dont have USA number to call please help me and send my rest to my email

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (115668)

Maybe you are looking for

  • Place Excel file and keep accurate formatting

    In my organization, InDesign is used for creating several rather comprehensive price lists (500 pages and more ...). Needless to say, each price list contains a lot of tables. Currently we create tables in Excel, save it as pdf file and place the pdf

  • Error message: 'Cannot reorder photos'.

    Normally I do not have a problem reordering photos in LR4. However with my last import from a folder in Pictures on my Imac's hard drive I am being shown the following error message, 'Cannot reorder photos. The currently selected scource does not sup

  • Calling a package from HTMLDB

    Can someone help me? I'm very new to HTMLDB and basically to Oracle. I need to create a simple package (which I know how to do) and call it from HTMLDB (which I DON'T know how to do). Essentially, I'd like to have a user select an item from a drop-do

  • XI Polling Interval

    Hi Gurus, I am quite confused with the processing parameters Polling interval (secs)* and Polling interval (msecs). What is the difference between the two? And why is it that the Polling interval (secs)* is required while Polling interval (msecs) is

  • Can't ReMount BootCamp Disk

    I had been running Vista fine on a dedicated internal HD, but when I tried to re-partition it using BootCamp assistant, it immediately unmounted from Desktop and now I cannot access it or get it back via Disk Utility altho shows up dimmed in Disk Uti