REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP

Hi,
I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
Thanks
Feroz

The way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
I am afraid some of reports engine failed to start and you get nothing back in your case.
After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
Hope this helps.
Thanks,
-Shaun

Similar Messages

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Why does iMessages does not work properly ? Please help me ! Its works better with the previous version if compared with the latest iOS

    Many, many thanks for both of you Todd and Rick.
    to Rick:
    I suppose you mean the Color Settings in Project Settings as follows:
    - Working Space: None
    - Match Legacy ... Gamma Adjustments checked ON
    But it does not correct the colors in effects. And checking or unchecking Make Movie/Output Module Settings/Color Management/Profile/Preserve RGB does not make any difference.
    to both of you:
    Those parts of the video image that does not have color effects are just fine. In these parts the color is preserved when reimporting to FCP. However, those parts having color effects (except Levels, as decribed earlier) have altered color results. So, only the parts having effects affecting color are misinterpreted in the image area. The mismatch is of course seen in AE, before making the movie.
    What I ment with "Color Management not working properly" is that (instead of "disabling" it) Color Management does not seem to be able to correct this "misinterpretation" or difference in effect handling between AE 6 and 10.
    So, would you have any solution for this problem?
    Again, many thanks for your fast replies!

  • When I connect the iphone does not start automatically Itunes Please help me

    when I connect the iphone does not start automatically Itunes
    Please help me
    How to solve this problem that I have

    i've had a few issues like this.
    I've found that it is an issue with items that are already on your phone.
    several troubleshoots. 
    1) uncheck everything from syncing (apps, music, tv shows, movies, podcasts, etc), try to perform a sync, it most likely will work.  Then, sync after checking each item individually (check the sync box for videos, then sync, check the sync box for podcasts, then sync, check the sync box for music, then sync, etc).  One of two things will happen, 1) you will fix the problem, or 2) you will identify exactly what part of the sync setup is the culprit.
    2) if the above doesn't work, I've found that it is likely an issue with files that are on your phone but your phone doesn't exaclty recognize (for example, I had copies of music on my phone that didn't show up in the music app, I went in on itunes and manually deleted those songs from my phone and that fixed the sync).  to do this, check the "manually manage music and videos" box at the bottom of "summary" while your phone is connected to itunes.  Then, go to the left hand pane in itunes and find your iphone device, click the drop-down arrow that shows all the categories for media on your iphone.  Go to the music category in your iphone on itunes and delete all the music that shows up.  Try to perform a sync - it likely will work.  After this, you can uncheck the manually manage music box and re-sync your phone as normal
    let me know if either works

  • My iTunes, on my computer is not syncing anything at all. We have tried re-downloading it but it does not work. Someone please help me?

    My iTunes, on my computer is not syncing anything at all. We have tried re-downloading it but it does not work. Someone please help me?

    Here:
    iOS: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X

  • Hello I am using Ipad 4 and its charger is not working while I was using it few days before and it was working properly now it says that the cable does not support this Ipad Please Help me out.

    Hello I am using Ipad 4 and its charger is not working while I was using it few days before and it was working properly now it says that the cable does not support this Ipad Please Help me out.

    Try a reset:
    - Hold the home button and sleep/wake button down at the same time. When the Apple logo appears release both buttons then try and charge again.
    If issue persists try:
    - Another known working cable
    - Check the charging port for any damage or debris
    - You could also use a dry soft bristle toothbrush and gently brush it on the port to clean it of any debris that could be in there

  • TS3899 My email keeps telling me the message failed because the server does not allow relaying. Please help

    My e mail keeps coming back with a message saying failed because the server does not allow relaying. Please help

    Check the suggestions at this website. They may help you get email working all the time.
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/

  • I have lost all of my bookmarks from the drop-down menu. It says it is empty, but never have I deleted them. And when I bookmark a page it does not save it. Please help

    Question
    I have lost all of my bookmarks from the drop-down menu. It says it is empty, but never have I deleted them. And when I bookmark a page it does not save it. Please help

    Ok this is bizzare!
    Thank you for your response, I went throught each and every step without any luck, even got the recovery programme, and painstakingly tried to sift through all that mumbojumbo to find what i needed. finally found the bookmark bit, but it had been fully overwritten :(, so on reading about previous ff versions, found the sqlite thingys, and they were relatively unscathed(partly written over, but saveable apparently TG), saved them to adiff drive, amongst other possibly good folders. Then looked up how to install them, and it said to close FF, and install to profile folder.
    So i tried to close FF, and the original problem from a few days ago, where it asked me if 'i was sure i wanted to close this window as it has X tabs open', popped up again. This is where 'open blank page' selection was set, over 'open previous tabs'. Wanting to save that info on how to sort out these friggin files, I reset the Option to 'open previous tabs', and closed FF. After unsucessfully searching for the profile folder on my laptop, i opened FF intending to search online for where i could find said folder.
    AND BANG, surprise surprise, the FF I had just closed with only tabs open about finding out what the heck to do, had disappeared, and instead my original saved tabs were up, and my bookmarks are there..... I am gobsmacked! what the heck just happened there???
    I have made 3 back up in different folders now, of those friggin bookmarks. I am weary now tho of shutting it all down.... what if its back to the other pages I had with no bookmarks, tomorrow :(

  • Windows xp runs java application but does not compile it - urgent please

    Hi
    My new PC(portable) does not compile my java progran:
    'javac' is not recognized as an internal or external command, operatable program or batch file.
    If you have any suggestion, please let me know!
    Aria

    Thanks anyhow;
    The following information is sent to beginners site.
    I have talked to british, belgian and others regarding this problem. They said it is very expensive and we laughed.
    Hi,
    Windows XP runs java application but does not compile it. I get following message:
    'javac' is not recognized as an internal or external command, operatable program or batch file.
    MS-DOS does not exists but a command line edits autoexec.nt having allinformation regarding installed jdk5. I run my java applicat
    ion from here. But no compilation.
    Environment variables has following information.
    JAVA_HOME C:\jdk5.0
    CLASSPATH C:\jdk5.0\myPrograms
    path %JAVA_HOME%bin
    All information in autoexec.nt exists as windows 98 and I run it from command line.
    Would you please tell me what is wrong?
    Thanks
    Aria

  • Report does not display correctly when exported to adobe

    Post Author: mgisonda
    CA Forum: Crystal Reports
    Hopefully someone can help me. I am currently running Crystal Reports profession version 10. I have applied service pack 1 and recently service pack 6. I am having a problem with the display of a report within adobe. My report is a bit complex. It is a 8.5x11 one page landscape report. It is set up in a grid format with multiple lines and boxes drawn on it. Here is the report information: Report Definition----
    Number of Database Fields:   144     Number of On-Demand Formulas:   40     UFLs in use:   None     Page N of M Used:   No     File Format Schema:   10.2.0    I created the report using CR developer. I use the report within a web project. The user requests the report and it returns to the user, an adobe file of the report. However, this is where I am having trouble. On my local development machine, the report displays fine. In CR developer, the report displays fine. When I export the report to Adobe from the CR Developer, it exports fine. BUT when I run the report from my web site, the adobe file that is returned is broken up over 42 pages. What seems to be actually happening is the return adobe file seems to think that the page size is 2in X 4in.. Where it got that, I don't know.The server running IIS is a windows server 2003. It has adobe 8.0 reader on it. I also have Crystal 10 Server Distribution loaded on it. And I have loaded CR10 Service pack 6 on that as well. Below is the web code that is used to display the report:Imports CrystalDecisions.Shared'Imports CrystalDecisions.CrystalReportsImports CrystalDecisions.CrystalReports.EngineImports CrystalDecisions.CrystalReports.Engine.ReportClassPublic Class PrintInspectionLayout    Inherits System.Web.UI.Page   Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load        Dim mNotInSpringDesign As String        Dim mPartType As String        mNotInSpringDesign = Request.QueryString("NotInSpringDesign")        If mNotInSpringDesign = "TRUE" Then            mStockCode = Request.QueryString("StockCode")            lblNotInSpringDesign.Text = "Stock Code #: " & mStockCode & " does not exist in Spring Design."            lblNotInSpringDesign.Visible = True            Response.Write("<br><br><br><br><br><font color='blue'><center><a href='SpringDesignWildCardSearch.aspx'>Go To Search Page</a></center></font>")        Else            mStockCode = Request.QueryString("StockCode")            Dim pList As ParameterValues = New ParameterValues            Dim paramName, paramValue As String            Dim pV As ParameterDiscreteValue = New ParameterDiscreteValue            Dim Report As ReportDocument= New ReportDocument            Dim expOpts As ExportOptions = New ExportOptions            Dim pdfRtfWordFormatOpts As PdfRtfWordFormatOptions = expOpts.CreatePdfRtfWordFormatOptions            Dim expFormatOpts As ExportFormatOptions = expOpts.ExportFormatOptions            expOpts.ExportFormatType = ExportFormatType.PortableDocFormat            mPartType = Request.QueryString("PartType")            'SELECT THE INSPECTION LAYOUT TYPE TO PRINT            Select Case mPartType                Case Is = "C"                    Report.Load(MapPath("./Reports/CompressionLayout.rpt"))                    'Report.Load(MapPath("./Reports/PCAR.rpt"))                Case Is = "E"                    Report.Load(MapPath("./Reports/ExtensionLayout.rpt"))                Case Is = "T"                    Report.Load(MapPath("./Reports/TorsionLayout.rpt"))                Case Is = "W"                    Report.Load(MapPath("./Reports/WasherLayout.rpt"))                Case Is = "F"                    Report.Load(MapPath("./Reports/FreeFormLayout.rpt"))                Case Else            End Select            pV.Value = mStockCode            pList.Add(pV)            Report.DataDefinition.ParameterFields("StockCode").ApplyCurrentValues(pList)            Response.ClearContent()            Response.ClearHeaders()            Response.ContentType = "Application/pdf"            Report.ExportToHttpResponse(expOpts, Response, False, "")            Report.Close()        End If    End Sub    Any ideas as to the solution? Why is it not displaying correctly? I have spent two days researching every FAQ  to try to find an answer, but to no avail. Please any help would be greatly appreciated. ThanksMike   

    Hi Paul
    You're more likely to get an answer to this if you post in the UNIX forum.
    By the looks of it, you may have a problem with your fonts.

  • I downloaded the new iphoto and the upgrade and now iphoto will not open correctly anymore. please help

    I downloaded the new iphoto and the upgrade and now iphoto will not open correctly anymore. it stays on the opening screen and the message
    shows up that I must update the mediathek. If I click on update the program shuts down. How can I fix this?

    I downloaded the new iphoto and the upgrade
    Does that mean, you are running iPhoto 9.6 on MacOS X 10.10.1 Yosemite? Or are you using an older MacOS X? "New" iPhoto is relative and depends on your system.
    If I click on update the program shuts down. How can I fix this?
    Does "shut down" mean it crashes?  Then post please the error log from the error panel here - copy and paste the report into your next answer (the first 50 lines should suffice)
    Where is your iPhoto Library (Mediathek) stored? Have you moved it to an external drive, or is it still in your Pictures folder (the order "Bilder")?

  • Security status not satisfied.- very urgent - please help me out

    hi,
    I am using Java card (JCOP v2.241) and eclipse. Few days back I have implemented Caesar cipher and now I have installed another applet for DES... I did not do init update or key ..
    Now it is showing me security condition not satisfied.69 82
    Aborting execution error.
    I did for three times ....the same thing happened...I have searched this forums but I could not get a clear answer.... I donot have any idea abt external authentication..
    Now this shows that I cannot access the card. Is it blocked ....
    How to unlock it.. Please help me out.. How to delete the applets..
    when we use DES to implement should we use any init -update?? .I am using JCOP sample engineering card can I configure it to any other
    Any suggestions and replies highly appreciated
    Thanks
    CM.

    1. Where should I run this code. what will it show when I run this. It enumerates all installed applets and packages, currently installed in the JCOP emulator running on TCP port 8050.
    2. When I compiled it javac cardinfo.java I got 28 errors. I too. I corrected the code (see my post in the thread "Code Sample: cardinfo for JCOP41V22 Card").
    my first error says import com.ibm.jc.*; doesnot exist. should I add this package if so how can I ...You need to add the JCOP-library "offcard.jar" to the project classpath.
    Jan

  • TA27749 6th generation ipod nano does not charge in car - Please help!!!!!

    I have a 07 BMW 5 series and a 6th generation ipod nano. The ipod plays fine through the car but it does not charge. The ipod I used previously was able to play and charge. Is there a way that I can get the new ipod to charge?
    Please help!

    See this Apple support document for help and instructions on disabling VoiceOver on your Nano.
    http://support.apple.com/kb/HT4317
    B-rock

  • OSX 10.5 Does not Recognize Login Password-  Please Help!! This is insane!!

    Ok, so this problem is incredibly annoying and has got me perplexed. I recently re-installed Mac OSX 10.5 for various reasons.I am running a Macbook Pro that is 2 years old apprx. I did the following steps:
    1. Booted from Install DVD (authentic)
    2. Erased/zeroed out HDD
    3. Installed OSX 10.5 on the Drive. And OSX is the only OS on the computer.
    4. I went through the set up, and created a login name and password. The password is long, like around 30 characters. This is the same password I had used before, on the same OSX 10.5 from the same disk with absolutely no problem.
    5. I slowly typed each character, having wrote each character down and did it for both pass and verification boxes on the initial screen when you boot for the first time and set up the user account.
    6. This was all accepted, and I finished the process.
    Now here is the rub, the password does not work! It logs in to my user name automatically using, I assume, the password I gave. But when I go to install my programs again, and it asks for the system password, it tells me the password is incorrect. I type it out completely and correctly off the piece of paper, and it says it is not correct. I have now retyped it 15 times, so there is no chance of it being a typing error (and same thing after re-re-install). ***!! I just put it in, what other passwords could it be!! I even erased the entire HDD clean a second time, and re-re-installed the OS and repeated the above. Still the same problem.
    Can someone give me any idea what might cause this? I have tried everything I can think of, and cannot think of any cause.
    Thanks everyone,
    DpDimick
    Message was edited by: DpDimick

    Thanks again V.K. I did check the layout, and it was listed as alphabet when I inputted the password. So that doesn't seems to the the issue.
    Just finished a truly mystifying experiment, but I put in a shorter password in the way mentioned earlier and it worked. I then systematically kept increasing the characters of that password and it seems that if the password starts to exceed about 16, it stops recognizing it. I am fairly sure it is not the password itself since it never gives an error when typing in the verification password. So unless I systematically make the exact mistake twice at the setup screen, and then don't or make a different mistake every time at the login screen, I don't think its my typing skill.
    So problem solved for now, but I am still a bit worried. Maybe I should completely reinstall and use a shorter password.
    Is there supposed to be a length limit?

  • Itunes was not installed correctly! PLEASE help!

    Hello i need help!
      For the last 3 weeks my itunes is not working ' itunes was not installed correctly please reinstall error 7 ". and quicktime isen't wokring either ' pleas install apple application support here is a list of thinks that i'v tried to do.
    1)  downloaded revo installer pro ( 30 days trial ). and deleted everything apple and than reinstalled itunes.
    2) downloaded winrar to download apple aplication support.
    3) updated everything in my windows update exept for ' windows 7 pack 1 x64 systems ( kb976932 ) because my battery needs to get replaced but i can't buy that untill next month ( i'm in college ).
    please please please! help me i don't know annything about all this!

    2) Apple Software Update:  Melding! "Probleem met Windows installer pakket/ontbreken van programma voor voltooien van installatie kan niet  worden uitgevoerd....
    Doublechecking. Have you tried the following user tip?
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

Maybe you are looking for

  • Stock on posting date in WH

    Hi All, Like MB5B is there any t.code or table to see stock on posting date in Warehouse? (like in so and so bin and in that S.type)

  • Can't transfer video to iPod either, but different problem. :(

    So I just got my iPod and am trying to put mpgs that I've got on my computer on the pod. I know that I'm supposed to put the file in iTunes and then convert the selection, but when I do I get an error message (-3000, which is an Invalid Component ID)

  • How to import ligin name to other page..

    hi.. i am making a application in tomkat 5.0 using JSP.first i am checking the authentication through a login page then forwarding it to a connect.jsp for authentication.after the if authorised then redirecting to a welcome page..i am using Mysql dat

  • Frequent app crash

    Hi, We developed a .net application to be running in user machines 24x7. We are facing so many application crashes in user machines due to several assemblies such as kernelbase.dll, ole32.dll, ntdll.dll, clr.dll etc. We collected some event viewer lo

  • Saving Numbers Spreadsheet

    Excel opens at the exact saved row and cell position, is there a way of saving Numbers to do this?