Missing Parameters when using .PrintToPrinter or .ExportToDisk

I am creating a viewer that will set login information and allow the users to view, print or export reports.  VB.NET 2010 WinForms Crystal Engine 13.0.9.1312.  All reports are external designed by various programmers.
The preview mode of my viewer is now working quite well (with the help of Don and Ludek most recently).  Anything I want to see on screen works great in the regular Crystal viewer.
The problem is when I want to export to pdf or print to a printer without viewing on screen in the regular Crystal viewer.
If there are no parameters in the reports, both exporting to pdf and printing to any printer selected works.
When there is one or more parameters, it crashes and points to the line
crReport.ExportToDisk(ExportFormatType.PortableDocFormat, strFile)
or
crReport.PrintToPrinter(1, True, 0, 0)
with the message Missing Parameter Values.
Through some searching (and yes I have checked on this site and Google for "Missing Parameter Values") I have found one big issue is that parameter values have to be set after the .ReportSource is set.  So before I changed my code, I never saw the Crystal Parameter prompt screen.  Now I see it but still get the crash (though once I have had it go to printer honouring the Parameter in a report, but I can't always reproduce it and never when sending to pdf).
The reports may be designed by end users who are using my program.  I will not know what reports they are or if they have even put in parameters.  I will not know if they are date, string, number, discrete, range, multiple, etc.
The original login code referred to below can be found here.
         'original login code here down to subreport login
         'rest of subroutine is just a Catch and End Try
         crViewer.ReportSource = Nothing
         crViewer.ReportSource = crReport
         'check if to be sent direct to printer and send all pages
         If Not autoforms Is Nothing AndAlso autoforms.ToPrinter Then
            crReport.PrintOptions.PrinterName = autoforms.Printer
            crReport.PrintToPrinter(1, True, 0, 0)   '-> Error Triggers Here
         End If
         'setup viewer options
         Dim intExportFormatFlags As Integer
         intExportFormatFlags = ViewerExportFormats.PdfFormat Or
                                 ViewerExportFormats.ExcelFormat Or
                                 ViewerExportFormats.ExcelRecordFormat Or
                                 ViewerExportFormats.XLSXFormat Or
                                 ViewerExportFormats.CsvFormat
         crViewer.AllowedExportFormats = intExportFormatFlags
         crViewer.ShowLogo = False
         crViewer.ToolPanelView = ToolPanelViewType.GroupTree
         'check if to be sent direct to pdf and send all pages
         If Not autoforms Is Nothing AndAlso autoforms.ToPDF Then
            Dim strPDFFilename As String = autoforms.PDFPath & "\" & autoforms.ReportName & "_" & autoforms.ReportType & ".pdf"
            'strPDFFilename = Replace(strPDFFilename, " ", "_")
            SendExport(strPDFFilename, "PDF")
         End If
         'if not preview then close form
         If Not autoforms Is Nothing AndAlso Not autoforms.Preview Then
            Me.Close()
            Exit Sub
         End If
Private Sub SendExport(ByVal strFile As String, ByVal strExportFormat As String)
      'pass current parameter values to the pdf
      Dim crParamFieldDefs As ParameterFieldDefinitions
      Dim crParamFieldDef As ParameterFieldDefinition
      Dim crParamValues As New ParameterValues
      Dim x As Integer = crViewer.ParameterFieldInfo.Count
      crParamFieldDefs = crReport.DataDefinition.ParameterFields
      'loop through each parameter and assign it the current values
      For Each crParamFieldDef In crParamFieldDefs
         crParamValues = crParamFieldDef.CurrentValues
         crParamFieldDef.ApplyCurrentValues(crParamValues)
      Next
      Select Case strExportFormat
         Case Is = "PDF"
            crReport.ExportToDisk(ExportFormatType.PortableDocFormat, strFile)  '--> Error Triggers Here
         Case Is = "xls"
            crReport.ExportToDisk(ExportFormatType.Excel, strFile)
         Case Is = "xlsx"
            crReport.ExportToDisk(ExportFormatType.ExcelWorkbook, strFile)
      End Select
End Sub
This code doesn't work on my system, but my logic is as follows (as flawed as it is).  Look through the parameters, find the current values and then assign them to the parameters again just before export.
With the code above, I am getting the enter parameter values screen in the viewer.  Therefore, my assumption is that the report now has a current value(s) for the parameter(s).  The loop will not require the program to know how may parameters there are or what the values or value types are.
There are a couple of problems with this.  When I step through it, there are no current values, because the prompt doesn't come up with stepping through the code with F8.  Second problem is that it is finding the internal parameters used for subreport linking ({?PM-xxxxx}).  Third problem is that a lot of code I have looked at does not appear like it is assigning the reportsource to a viewer at all just to export or print to printer.  So is it necessary to do as I have done here?
I am sorry this is so long and I appreciate anyone who has stuck to it this long.  I am at my wits end trying to figure out how to make this work.  I think there is a timing issue here but do not know how to resolve it.  I just want the report to trigger the prompts if there are parameters, then send the report screen, to pdf or to printer depending on the user's settings for the report (it may be any or all three options).  If you need more info, let me know.
TIA, rasinc

Hi
I'd like to look at this from the "how parameters" work point of view. Then let's see if we can drill in on some of the details.
The parameter prompt screen is driven by the viewer. E,g.; the screen will only be spawned on invocation of the viewer. If the viewer is not invoked (e.g.; direct print / export) the parameter prompt screen will not be displayed. Now, in your second post you say:
With the code above, I am getting the enter parameter values screen in the viewer.
This does not sound correct based on the above. E.g.; if the correct parameters are passed to the engine, the viewer should never be popping up the parameter screen. So to me it looks like the code for the parameter is not actually working. It looks like it is as there is no error as such. But as you get prompted, the engine is essentially saying; "I don't understand those parameters so as smart as I am, I'll use the parameter prompt screen to get them from the user on a silver platter".
Ok. Now to some troubleshooting. I'd pick a report where I know the parameter type and acceptable values ahead of time. Don't use date or date / time params to start with as these have other complication. Use the parameter code to set the value(s) - preferably one value (I like to keep things simple). If the parameter is passed to the report engine correctly, there will not be a parameter prompt and the report will simply come up in the viewer. Once this works, add in a code for printing / exporting and comment out the viewer code. The report should print / export without any issues (no parameter prompt, no error). Repeat the above with a multi-parameter report.
Then it will come to those date and date/time parameters. NULL handling, etc., etc. E.g.; this will not be trivial. And you will somehow need to know the parameter type (string / int / date) before you try to pass it into the report. More help:
Sample apps
vbnet_win_paramengine.zip
vbnet_win_paramviewer.zip
vbnet_win_multirangeparam.zip
vbnet_win_rangeparameters.zip
vbnet_win_sub_daterange_param_engine.zip
vbnet_win_sub_daterange_param_viewer.zip
The above samples are here: Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
Helpful KBAs
1688710 - When printing a Crystal report with parameters using 'PrintToPrinter' method, report does not prompt for parameter values
1214110 - How to pass a Date/Time parameter to a report at runtime using VB .NET
1496220 - Suppress the default parameter prompt when the parameter value is not passed through the code
1893554 - How to pass a NULL value to a Crystal Reports optional parameter field using Visual Studio .NET
1425379 - How to avoid being prompted for a parameter when refreshing a report running in a VS .NET application
1461315 - Error; "Missing Parameter Values" when running a parameterized report using Crystal Reports SDK for VS .NET
1215426 - Err Msg: "Missing parameter value" when printing or exporting in VS .NET
And finally this:
Crystal Reports for Visual Studio 2005 Walkthroughs
(The above doc is good for all versions of CR and VS. It has some amazingly great "stuff" in it re. parameters, etc., and more.)
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Missing Parameters when JSP Forwarding

    I am having difficulty with passing parameters when a forward occurs from
    one JSP to a second JSP. When I try to get those parameters on the second
    JSP I am getting nulls since it never actually receives them as parameters.
    Here is what the code looks like ...
    first JSP
    ======
    <jsp:forward page="second.jsp" >
    <jsp:param name="arg1" value="hi" />
    <jsp:forward>
    second JSP
    ========
    String arg1 = request.getParameter( "arg1" )
    This situation is occuring for me on iPlanet Web Server 4.1. (Fyi, when I
    use the same JSPs on Tomcat through JBuilder, the parameter is passed to the
    second JSP.) I am wondering if if I am missing something on how iPlanet
    wants me to do pass arguments when forwarding or whether I just need to find
    an alternative way to accomplish my goal. Thanks in advance.

    In your second JSp try using.
    String arg1 = (String) request.getAttribute('arg1");
    I'm not sure if this is correct but from my understanding of Servlets you can not set a parameter programatically without overriding the ServletRequest. However, you can set an attribute. If this does not work then the following absolutely will:
    JSP 1
    <% request.setAttribute("args1","hi");
    <jsp:forward page="second.jsp"/>
    JSP 2
    <% String param = (String) request.getAttribute("arg1"); %>
    Hope this helps

  • When composing new email (gmail) tool bar showing fonts, colors, bold, italics, underline, etc. is missing? When using Internet Explorer the bar is there.

    When using Firefox, the tool bar above the "compose mail" window is missing. I cannot change fonts, use bold, italics, underline, change colors, align margins, etc. When using Internet Explorer the bar IS there but I prefer Firefox, as it is much faster. My operating system is Vista.

    Thanks Tony T1, I have tried using the Mail -> Format drop downs...
    ... and using the format toolbar...
    ... and in both cases, Bold and Italic is greyed out... (bit hard to see in the second screenshot, but it is, honest!)
    The mail message is def set as Rich Text, which you can see in the first screenshot, as the option to Make Plain Text is there...

  • Missed calls when using Safari

    I've noticed that sometimes I miss calls when I'm using Safari. Has anyone else seen this?
    Thanks,
    Sam

    Is there a reason that EDGE can't carry an alert signal while downloading?
    Good Q. EDGE can do exactly that, if the network is set to Network Operation Mode One (NOM-1).
    In that case, the paging signal is copied over the data download side of things. Then a phone that knows how, can notice it and alert the user to make a choice.
    NOM-1 is rare in the U.S., though.

  • Error-No value given for one or more required parameters when using oleDBDa

    Hello,
    I have this sql statement and it works well, the Crystal Report gives good result when I put concrete values like:
    string comstring = "SELECT NOVI.GBR as gbrnov, NOVI.AB as abnov, NALOG1.DATA as datanov, Min(NALOG1.POCKM) AS MinOfPOCKM, Max(NALOG1.KRAJKM) AS MaxOfKRAJKM, (Max(NALOG1.KRAJKM)-Min(NALOG1.POCKM)) AS RAZLIKA, Count(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)) AS Gorivo, Avg(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)/100) AS potrosgor100km, Sum(IIf(([MAGACIN.SIFRA]='0993050' Or [MAGACIN.SIFRA]='0993051'),[MAGACIN.KOL],Null)) AS Motmaslo, Sum(IIf(([MAGACIN.SIFRA]='0992201'),[MAGACIN.KOL],Null)) AS Addblue, ([Addblue]/[Gorivo])100 AS Addbluegor, Sum(IIf(([MAGACIN.SIFRA]='0999001'),[MAGACIN.KOL],Null)) AS Antifriz, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA',''))) AS Zabeleska FROM (NALOG1 INNER JOIN NOVI ON NALOG1.GBRV = NOVI.GBR) INNER JOIN MAGACIN ON NOVI.GBR = MAGACIN.GBR where (((NOVI.GBR)>='1001' And (NOVI.GBR)<='1080') AND ( ((NOVI.AB)='AK') OR ((NOVI.AB)='AK') ) AND ((NALOG1.DATA)<=#10/31/2011# and (NALOG1.DATA)>=#10/31/2011#) ) GROUP BY NOVI.GBR, NOVI.AB, NALOG1.DATA, ([Addblue]/[Gorivo])100, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA','')))";          
    but when I use code like this :
    string comstring = "SELECT NOVI.GBR as gbrnov, NOVI.AB as abnov, NALOG1.DATA as datanov, Min(NALOG1.POCKM) AS MinOfPOCKM, Max(NALOG1.KRAJKM) AS MaxOfKRAJKM, (Max(NALOG1.KRAJKM)-Min(NALOG1.POCKM)) AS RAZLIKA, Count(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)) AS Gorivo, Avg(IIf(([MAGACIN.SIFRA]='0991000'),[MAGACIN.KOL],Null)/100) AS potrosgor100km, Sum(IIf(([MAGACIN.SIFRA]='0993050' Or [MAGACIN.SIFRA]='0993051'),[MAGACIN.KOL],Null)) AS Motmaslo, Sum(IIf(([MAGACIN.SIFRA]='0992201'),[MAGACIN.KOL],Null)) AS Addblue, ([Addblue]/[Gorivo])100 AS Addbluegor, Sum(IIf(([MAGACIN.SIFRA]='0999001'),[MAGACIN.KOL],Null)) AS Antifriz, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA',''))) AS Zabeleska FROM (NALOG1 INNER JOIN NOVI ON NALOG1.GBRV = NOVI.GBR) INNER JOIN MAGACIN ON NOVI.GBR = MAGACIN.GBR where (((NOVI.GBR)>=? And (NOVI.GBR)<=?) AND ( ((NOVI.AB)=?) OR ((NOVI.AB)=?) ) AND ((NALOG1.DATA)<=? and (NALOG1.DATA)>=?) ) GROUP BY NOVI.GBR, NOVI.AB, NALOG1.DATA, ([Addblue]/[Gorivo])100, NOVI.DATAP, NOVI.DATAS, IIf(([NOVI].[KM]<=([NOVI].[KMS1][NOVI].[KMS2])),'ZA SERVIS',(IIf(([NOVI].[KM]<=([NOVI].[KMP1][NOVI].[KMP2])),'PROVERKA','')))";
    Edited by: Don Williams on Nov 23, 2011 7:22 AM

    and the code after that:
    command.CommandText = comstring;
                if (radioButton4.Checked == true)
                    if (textBox1.Text == "")
                        button1.Enabled = false;
                        MessageBox.Show("Внесете гаражен број", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                        textBox1.Focus();
                        command.Parameters.AddWithValue("@gbr1", textBox1.Text);
                        command.Parameters.AddWithValue("@gbr2", textBox1.Text);               
                else if (radioButton5.Checked == true)
                    command.Parameters.AddWithValue("@gbr1", "1001");
                    command.Parameters.AddWithValue("@gbr2", "1080");
                    button1.Enabled = true;
                    textBox1.Text = "";
                else if (radioButton6.Checked == true)
                    command.Parameters.AddWithValue("@gbr1", "1081");
                    command.Parameters.AddWithValue("@gbr2", "1149");
                    button1.Enabled = true;
                    textBox1.Text = "";
                else if (radioButton7.Checked == true)
                    command.Parameters.AddWithValue("@gbr1", "1001");
                    command.Parameters.AddWithValue("@gbr2", "1149");
                    button1.Enabled = true;
                    textBox1.Text = "";
                else
                    MessageBox.Show("Немате избрано гаражен број или тип на автобус.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    button1.Enabled = false;
                if (checkBox1.Checked == true && checkBox2.Checked==true)
                    command.Parameters.AddWithValue("@ab1", "AK");
                    command.Parameters.AddWithValue("@ab2", "GP");
                    button1.Enabled = true;
                else if ((checkBox1.Checked == true) && (checkBox2.Checked == false))
                    command.Parameters.AddWithValue("@ab1", "AK");
                    command.Parameters.AddWithValue("@ab2", "AK");
                    button1.Enabled = true;
                else if (checkBox2.Checked == true )
                    command.Parameters.AddWithValue("@ab1", "GP");
                    command.Parameters.AddWithValue("@ab2", "GP");
                    button1.Enabled = true;
                else
                    MessageBox.Show("Немате избрано автобаза.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                    command.Parameters.AddWithValue("@ab1", "AK");
                    command.Parameters.AddWithValue("@ab2", "GP");
                    button1.Enabled = false;
                command.Parameters.AddWithValue("@data1", dateTimePicker1.Value.Date);
                command.Parameters.AddWithValue("@data2", dateTimePicker2.Value.Date);
                 DataSet2 dataSet2=new DataSet2();    
                 OleDbDataAdapter oleDBDataAdapter1 = new OleDbDataAdapter();
                oleDBDataAdapter1.SelectCommand=command;
                    dataSet2.Clear();
                    oleDBDataAdapter1.Fill(dataSet2,"Tabela");
                    if (dataSet2.Tabela.Count == 0)
                        MessageBox.Show("Nema podatoci za toj period");
                    ReportDocument cryRpt = new ReportDocument();
                    cryRpt.Load(@"C:\Potrosuvacka-Pregledi\Potrosuvacka-Pregledi\CrystalReport6.rpt");
                cryRpt.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Landscape;
                    cryRpt.SetDataSource(dataSet2);
                    crystalReportViewer1.DisplayToolbar=true;
                crystalReportViewer1.ReportSource = cryRpt;                      
                crystalReportViewer1.Refresh();
                    conn.Close();
    I get an error:
    "No value given for one or more required parameters."
    Could anybody help me please?
    Thank you in advance.
    Edited by: nelpet06 on Nov 23, 2011 9:30 AM

  • ORA-00936: Missing Expression when using a claculation as a condition item

    Hi
    I created a calculation below to create a subtotal on each row of a group of selected items.
    SUM(Invoice Amount)OVER(PARTITION BY Supplier Num ORDER BY Payment Currency Code)
    This worked fine - but then I wanted to create a condition based on this calculation and when I used the calculation as a condition item and reran the report I received the 'ORA-00936: Missing Expression' error. So not too sure why it is fine as a calculation but not as part of a condition.
    We use Discoverer version 4.1
    Am I missing something or is this a bug?
    Any help would be very appreciated
    Thanks
    Marcus

    Thanks for your reply, Rod
    We are using the 9.2.0.5 version of the database
    I am not a SQL expert, by any means, but below is the line that refers to the condition in the sql inspector
    WHERE ( ( E_152 )/2 > 50)
    presuambly that means E_152 is the calculation, I think this may be refering to this at the beginning of the report:
    SELECT DISTINCT E316344 as E316344,E316372 as E316372,E316411 as E316411,E316425 as E316425,E316496 as E316496,E316497 as E316497,E316498 as E316498,E316510 as E316510,E316511 as E316511,E316512 as E316512,E316515 as E316515,E316517 as E316517,E316519 as E316519,E316520 as E316520,E_24 as E_24,E_21 as E_21,E_18 as E_18,E_16 as E_16,E_13 as E_13,E_11 as E_11,E316501 as E316501 FROM ( SELECT E_152 as E_152,DISTINCT E316344 as E316344,E316372 as E316372,E316411 as E316411,E316425 as E316425,E316496 as E316496,E316497 as E316497,E316498 as E316498,E316510 as E316510,E316511 as E316511,E316512 as E316512,E316515 as E316515,E316517 as E316517,E316519 as E316519,E316520 as E316520,E_24 as E_24,E_21 as E_21,E_18 as E_18,E_16 as E_16,E_13 as E_13,E_11 as E_11,E316501 as E316501 FROM ( SELECT DISTINCT i316344 as E316344,i316372 as E316372,i316411 as E316411,i316425 as E316425,i316496 as E316496,i316497 as E316497,i316498 as E316498,i316510 as E316510,i316511 as E316511,i316512 as E316512,i316515 as E316515,i316517 as E316517,i316519 as E316519,i316520 as E316520,SUM(i316501) OVER(PARTITION BY i316345 ORDER BY i316520 )/2 as E_24,( i316501-( NVL(i316502,0) ) )*( NVL(i316522,1) ) as E_21,i316501-( NVL(i316502,0) ) as E_18,NVL(i316502,0) as E_16,i316501*( NVL(i316522,1) ) as E_13,NVL(i316522,1) as E_11,i316501 as E316501,SUM(i316501) OVER(PARTITION BY i316345 ORDER BY i316520 ) as E_152
    Apologies if this info is not that helpful
    Would it have anything to do with the fact that the row calculation is based on several rows (i.e. a subtotal) and if a single row is excluded it would change the value of the other rows within that subtotal group. Maybe it causes some sort of circular issue?
    Anyway, thanks again for your help - hopefully we can resolve it
    Marcus

  • Missing Text when using CONVERT to PDF

    I am using Acrobat Pro 9 in Wnidows 7 and Microsoft Publisher 2003.
    When I use the CONVERT command to create a PDF - it is missing all of the text on the master page.
    If I create the PDF with the PRINT command - everything is OK.
    PS: The same Publisher File on another computer using Acrobat Pro 8 works fine - CONVERT or PRINT and no missing text
    I prefer to use convert because sometimes the PRINT command drops some of the hyperlinks.
    [edited by forum host - email removed]

    Hi,
    Could you mail be the file with which you are seeing the issue. I will investigate at my end to see what the issue is. You can mail me at [email protected]
    Thanks,
    Love Bisht

  • Handling parameters when using BI Server as a Data Source

    Hi,
    Following an upgrade of our BI Publisher 10g content to 11g I've come across a syntax issue with 11g when it comes to the handling of parameters in BI Server Data Sets.
    Under 10g, the documentation stated the following:
    +"If your data source is the Oracle BI Server, use the following macro to handle the null:+
    +{$ if ${sYear}='*'$}+
    +{$elsif ${sYear}='2000' $}+
    +where Year = :sYear+
    +{$else $}+
    +where Year = :sYear+
    +{$endif$} "+
    http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T518230T518233.htm
    Under 11g it does not seem to allow the use of macros defined in Data Sets and raises the following error when saving the query:
    +"java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <$>: Syntax error [nQSError: 26012] ."+
    If macros are no longer supported, what is the best approach to handle null value parameters (caused by all choices / nothing being selected)
    as they need to be defined in the Data Set WHERE CLAUSE?
    I've tried a rather clunky CASE WHEN statement which handles string parameters fine, but dates are another thing as null values are returned as 'null' text which causes TYPE mismatch errors.
    Hopefully there is an elegant way to handle this in 11g (the 10g macros were very straight forward when dealing with BI Server)
    Many Thanks

    If what you are saying is true then I would highly recommend open a ticket with Oracle Support.
    They should provide and alternative for handling NULLS in 11g.
    regards
    Jorge

  • ORA-00917: missing comma when using NVL

    Hi All,
    I have a INSERT statement which works fine and looks something like:
    EXECUTE IMMEDIATE
    'insert into MYTABLE(ID,TASK_ROLE, PROGRESS,SALES_PERSON) values ...
    However if I change the above piece to use NVL function like this:
    EXECUTE IMMEDIATE
    'insert into MYTABLE(ID,TASK_ROLE, NVL(PROGRESS,''0''),SALES_PERSON) values ...
    I am getting the following error:
    ORA-00917: missing comma
    Where should I enter the extra comman needed?
    Regards,
    Pawel.

    Hi these are in fact two simple quotes '. If I use only one simple quote I get an error:
    1 error has occurred
    ORA-06550: line 48, column 239: PLS-00103: Encountered the symbol "0" when expecting one of the following: * & = - + ; < / > at in is mod remainder not rem return returning <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk member SUBMULTISET_ The symbol "* was inserted before "0" to continue.
    Same thing happens if I ommit the quotes at all and leave it like NVL(PROGRESS,0)
    Edited by: padmocho on Sep 20, 2010 11:37 AM

  • Hardcoded BAM server parameters when using BAM sensors

    The problem we're having is that when a BPEL process has BAM sensors, the BAM server configuration parameters are hardcoded in bpel.xml and sensorAction.xml.
    This causes problems when the process is being deployed to a different instance than the development instance.
    I solved the problem for the bpel.xml file with the <customize> ant task, but haven't found a solution yet for sensorAction.xml.
    Any suggestions?
    Thanks,
    Arnold van Koppen

    See..when the BAM Server is down the corresponding data objects wont be available to you..During the design time wat u do is create a variable which contains the elements dat u wanna monitor in the BAM...IN BAM u create data objects ..then u map the schema from the BPEL to the BAM Data Objects ...U need a BAM Server connection which pulls up the metadata from the server ..If the BAM Server is down u wont get the BAM DOs...to keep a back up u can use DB as the sensor action so that the data from the sensor action is written to the DB..Using a DB Adapter i think the data from the Reports schema can be written to the OracleBAM schema ...so that even if the BAM Server is down the data is written to the OracleBAM schema

  • Missing clips when using log & transfer

    Hi everyone,
    I use a canon vixia hf m41, when I use log & transfer it works fine except some clips are missing!  There are less clips in the log and transfer window then there are in the stream folder..........

    I tried this again last night with a slightly different result.  This time, all .m4v files were copied as .mov files to the Event folder, but no clips were created in iMovie.  I then tried dragging the .mov files from the Event folder to the Event in iMovie, but I received the following error:
    "The files will not be imported.  They are not compatible with iMovie."
    So, the .mov files that iMovie itself created are not compatible with iMovie. 
    I also verified that there are no non-Apple codecs in the Library\Quicktime folder per this thread:
    https://discussions.apple.com/message/9755974#9755974
    Any help would be greatly appreciated!

  • Problems with Array-Parameters when using Document-Binding

    Hi,
    I use the following environment:
    JDeveloper 11.1.1.3.0
    WLS 10.3.3.0
    I created a small EJB (2.1), containing a simple method, which is using arrays as parameters:
    public String doTestArray(String[] aStringArray, int[] aIntArray)
    throws RemoteException;
    I exposed this EJB as a Webservice using JDev's Webservice wizard. I choosed Document/Wrapped-Binding. WSDL and mapping file are being generated. Made an EAR-Deployment-Profile and deployed the application to Integrated-WLS.
    I tried to test the Webservice with the WLS integrated test client, which is generating the following request:
    <doTestArrayElement xmlns="http://model/types/">
    <!--Zero or more repetitions:-->
    <arrayOfString_1>string</arrayOfString_1>
    <!--Zero or more repetitions:-->
    <arrayOfint_2>3</arrayOfint_2>
    </doTestArrayElement>
    Unfortunately, the invokation fails. WLS returns
    weblogic.wsee.codec.CodecException: Failed to decode message
    at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:188)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:139)
    That only happens in methods, which use array-parameters. Simple parameters are no problem.
    However, when I use RPC/Encoded as Webservice-Binding, everything seems to be fine.
    Does WLS have problems in general using array-parameters and Document-Binding?
    Any help would be appreciated.
    Thanks,
    Stefan

    Hi Josko,
    Where do you have this problem 3.5 or 7.0 BexAnalyzer.
    When ever heirarchy icons are created in BEx, respective hyperlink is assigned to each of them, Make sure that you dont manipulate with them,,
    If you still have problem then create OSS message.
    Regards,
    Vinay

  • Report parameters when using DoCmd.OutputTo

    OK,
      Thank you one and all for answering my last question. I have another one. OK, I can set the report's parameters using the where clause part of the DoCmd.OpenReport. Great! But I also save that report as a text file using the following command
    DoCmd.OutputTo acOutputReport, "rptSalesInvoiceEntryWineShip", acFormatTXT, strInvoicePath & Me.txtInvoiceNumber & ".txt", False
    Unfortunately, there is no where clause part available!! OK, any ideas here. thanks!!
    Ed Cohen
    Edgar Cohen

    The other way to do this, which avoids having to open the report in print preview, is to base the report on a query which references a control on a form (presumably the txtInvoiceNumber control in your case), as a parameter.
    As it happens there is a demo file which does exactly this, using a simple invoicing database as the example, as InvoicePDF.zip, in my public databases folder at:
    https://skydrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    You might have to copy and paste the text of the above (not copy the link location) into your browser; for some reason it sometimes doesn't seem to work as a hyperlink.
    As its name suggests this creates a PDF file of the invoice, which is primarily what the demo is for, but it will work just the same if outputting to a text file.
    Ken Sheridan, Stafford, England

  • Psc 1315 all-in-one​.missing text when using scanning window

    hello everyone, i am new to all this forum stuff...i have a psc hp 1315 all-in-one printer..it works fine when i print a document THROUGH my pc, as the computer automatically aligns the page...but when i place a document on the viewing window under the lid, and push the relevant button/s ON the printer,manually, it comes out with about an inch of the text at the bottom, missing, and about the same vertically down the right side....
    i have tried the troubleshooting/help pages, on the hp website,+ the printers user manual, but no joy...i am no expert on printers so i don't want to do anything major,until i have sought proper advice....i hope i have been specific enough
    heres hoping that there are some out there who can help.
               have a nice day
                      mr nice guy

    What program are you printing from?  It would appear your are printing in graphics mode (rather then black text) and that your printer is running out of cyan ink.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Missing Audio when Using MediaCapture to Record an Audio File

    When I use MediaCapture to record an audio file, save it to Azure Blob Storage, and then download it to play it back invariably the first 5 to 6 seconds of the recording are blank. Is there some fix to this? The code I'm using is the standard, as shown below.
    var settings = new MediaCaptureInitializationSettings();
                    settings.StreamingCaptureMode = StreamingCaptureMode.Audio;
                    settings.AudioProcessing = Windows.Media.AudioProcessing.Default;
                    _mediaCapture = new MediaCapture();
                    await _mediaCapture.InitializeAsync(settings);
                    _mediaCapture.RecordLimitationExceeded += new Windows.Media.Capture.RecordLimitationExceededEventHandler(RecordLimitationExceeded);
                    _mediaCapture.Failed += new Windows.Media.Capture.MediaCaptureFailedEventHandler(Failed);
                    var recordProfile = MediaEncodingProfile.CreateM4a(AudioEncodingQuality.Auto);
                    await _mediaCapture.StartRecordToStorageFileAsync(recordProfile, AudioStorageFile);

    Hi IMOsiris,
    Does the record file lost the first 5 seconds when complete recording in windows phone? We need avoid the confounding factors with Azure. Please test it.
    If lost, we can use the code sample from MSDN code gallery to test whether the problem is persists. Post the result here and I will check if this is a known issue.
    https://code.msdn.microsoft.com/windowsapps/media-capture-sample-adf87622.
    If not, that means there is something incorrect when downloading file from Azure. You need to post on Azure forum to report this issue.
    Feel free to let me know if you have any concerns.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

Maybe you are looking for

  • Wakingup JFrame when it is minimized

    Hi All, If my JFrame is minimized how can i wake it up without me doing it manually..Any class or method which helps for this??? Thanks in advance. regards, Viswanadh

  • Don't want autoplay

    I don't want autoplay for my slideshow DVD, but I seem to get it no matter what. I have a cool menu and I want the menu to be the 1st thing a viewer sees when they put the DVD in. But as soon as I pop in the DVD, it always goes straight to the full s

  • How to force reconciliation of an LDAP resource to a fixed IdM org

    I have 3 IdM organizations: Top Top:Mailboxes and Top:Engineers. When the LDAP resource was created it is available to Top and Top:Engineers. Top:Mailboxes is a list of all the mailboxes in use at the company, Top:Engineers is just the IT dept. When

  • Adobe Acrobat 9Pro quits unexpectedly

    Every time I try to open Acrobat, it quits unexpectedly. When I open it with my guest account on my computer, it works fine? How can I fix this? Thanks

  • Compatibility mode lifecycle

    Hi, This is the first time I use this forum, but I have searched without finding the answer to my question (I realise it is probably out there somewhere). I support a legacy product where early versions are not officially compatible with Server 2008