Dynamiclaly determine the need of parameter prompt? (CR8.5)

Hi,
I'm wondering if it's possible to have cr8 decide if a parameter is needed.
I have a report, its an invoice template that has some graphics that display depending on a selected parameter.
The graphics are generally only used when a copy invoice or credit is needed - otherwise the user selects 'plain' and the invoice prints with no graphics.
The document type is determined by the database field DOC_TYPE which would be 'CIV' for copy invoice or 'CCR' for copy credit - otherwise 'INV' or 'CRN'
Is it possible to specify that, if the doc_type is 'CIV' or 'CCR' then prompt for graphics if not, no parameter prompt - show/print the plain report.
The reason for this is that, when invoices are raised, they are raised in batches and it would be inpracticle to stop and choose a parameter for each invoice - these invoices are all printed on headed paper, therefor - graphics are supressed.
The graphics are only shown when a customer requests a copy invoice and we then send out a pdf generated from the report with graphics shown

Please re-post if this is still an issue or purchase a case and have a dedicated support
engineer work with your directly

Similar Messages

  • How can avoid the  problem of Parameter Prompting when I submitting ?

    I am developing web application in visual studio 2008 in csharp.How can avoid the issue or problem of  Parameter Prompting when I send parameters programaticaly or dyanmicaly?  I am sending the values from .net web form to crystal report but it is still asking for parameters. so when i submit second time that is when the reports is being genereated. How can i solve this problem. Please help. The code Iam using is below.
       1. using System; 
       2. using System.Collections; 
       3. using System.Configuration; 
       4. using System.Data; 
       5. using System.Linq; 
       6. using System.Web; 
       7. using System.Web.Security; 
       8. using System.Web.UI; 
       9. using System.Web.UI.HtmlControls; 
      10. using System.Web.UI.WebControls; 
      11. using System.Web.UI.WebControls.WebParts; 
      12. using System.Xml.Linq; 
      13. using System.Data.OleDb; 
      14. using System.Data.OracleClient; 
      15. using CrystalDecisions.Shared; 
      16. using CrystalDecisions.CrystalReports.Engine; 
      17. using CrystalDecisions.Web; 
      18.  
      19.  
      20. public partial class OracleReport : System.Web.UI.Page 
      21. { 
      22.     CrystalReportViewer crViewer = new CrystalReportViewer(); 
      23.     //CrystalReportSource crsource = new CrystalReportSource(); 
      24.     int nItemId; 
      25.  
      26.     protected void Page_Load(object sender, EventArgs e) 
      27.     { 
      28.         //Database Connection 
      29.         ConnectionInfo ConnInfo = new ConnectionInfo(); 
      30.         { 
      31.             ConnInfo.ServerName = "127.0.0.1"; 
      32.             ConnInfo.DatabaseName = "Xcodf"; 
      33.             ConnInfo.UserID = "HR777"; 
      34.             ConnInfo.Password = "zghshshs"; 
      35.         } 
      36.         // For Each  Logon  parameters 
      37.         foreach (TableLogOnInfo cnInfo in this.CrystalReportViewer1.LogOnInfo) 
      38.         { 
      39.             cnInfo.ConnectionInfo = ConnInfo; 
      40.  
      41.         } 
      42.  
      43.  
      44.  
      45.  
      46.  
      47.  
      48.         //Declaring varibles 
      49.          nItemId = int.Parse(Request.QueryString.Get("ItemId")); 
      50.         //string strStartDate = Request.QueryString.Get("StartDate"); 
      51.         //int nItemId = 20; 
      52.         string strStartDate = "23-JUL-2010"; 
      53.  
      54.         // object declration 
      55.         CrystalDecisions.CrystalReports.Engine.Database crDatabase; 
      56.         CrystalDecisions.CrystalReports.Engine.Table crTable; 
      57.  
      58.  
      59.         TableLogOnInfo dbConn = new TableLogOnInfo(); 
      60.  
      61.         // new report document object 
      62.         ReportDocument oRpt = new ReportDocument(); 
      63.  
      64.         // loading the ItemReport in report document 
      65.         oRpt.Load("C:
    Inetpub
    wwwroot
    cryreport
    CrystalReport1.rpt"); 
      66.  
      67.         // getting the database, the table and the LogOnInfo object which holds login onformation 
      68.         crDatabase = oRpt.Database; 
      69.  
      70.         // getting the table in an object array of one item 
      71.         object[] arrTables = new object[1]; 
      72.         crDatabase.Tables.CopyTo(arrTables, 0); 
      73.  
      74.         // assigning the first item of array to crTable by downcasting the object to Table 
      75.         crTable = (CrystalDecisions.CrystalReports.Engine.Table)arrTables[0]; 
      76.  
      77.         dbConn = crTable.LogOnInfo; 
      78.  
      79.         // setting values 
      80.         dbConn.ConnectionInfo.DatabaseName = "Xcodf"; 
      81.         dbConn.ConnectionInfo.ServerName = "127.0.0.1"; 
      82.         dbConn.ConnectionInfo.UserID = "HR777"; 
      83.         dbConn.ConnectionInfo.Password = "zghshshs"; 
      84.  
      85.         // applying login info to the table object 
      86.         crTable.ApplyLogOnInfo(dbConn); 
      87.  
      88.  
      89.  
      90.  
      91.  
      92.  
      93.         crViewer.RefreshReport(); 
      94.          
      95.                 // defining report source 
      96.         crViewer.ReportSource = oRpt; 
      97.         //CrystalReportSource1.Report = oRpt; 
      98.          
      99.         // so uptill now we have created everything 
    100.         // what remains is to pass parameters to our report, so it 
    101.         // shows only selected records. so calling a method to set 
    102.         // those parameters. 
    103.      setReportParameters();  
    104.     } 
    105.  
    106.     private void setReportParameters() 
    107.     { 
    108.       
    109.         // all the parameter fields will be added to this collection 
    110.         ParameterFields paramFields = new ParameterFields(); 
    111.          //ParameterFieldDefinitions ParaLocationContainer = new ParameterFieldDefinitions(); 
    112.        //ParameterFieldDefinition ParaLocation = new ParameterFieldDefinition(); 
    113.         
    114.         // the parameter fields to be sent to the report 
    115.         ParameterField pfItemId = new ParameterField(); 
    116.         //ParameterField pfStartDate = new ParameterField(); 
    117.         //ParameterField pfEndDate = new ParameterField(); 
    118.  
    119.         // setting the name of parameter fields with wich they will be recieved in report 
    120.        
    121.         pfItemId.ParameterFieldName = "RegionID"; 
    122.  
    123.         //pfStartDate.ParameterFieldName = "StartDate"; 
    124.         //pfEndDate.ParameterFieldName = "EndDate"; 
    125.  
    126.         // the above declared parameter fields accept values as discrete objects 
    127.         // so declaring discrete objects 
    128.         ParameterDiscreteValue dcItemId = new ParameterDiscreteValue(); 
    129.         //ParameterDiscreteValue dcStartDate = new ParameterDiscreteValue(); 
    130.         //ParameterDiscreteValue dcEndDate = new ParameterDiscreteValue(); 
    131.  
    132.         // setting the values of discrete objects 
    133.          
    134.  
    135.           dcItemId.Value = nItemId; 
    136.          
    137.         //dcStartDate.Value = DateTime.Parse(strStartDate); 
    138.         //dcEndDate.Value = DateTime.Parse(strEndDate); 
    139.          
    140.         // now adding these discrete values to parameters 
    141.           //paramField.HasCurrentValue = true; 
    142.  
    143.        
    144.  
    145.           //pfItemId.CurrentValues.Clear(); 
    146.          int valueIDD = int.Parse(Request.QueryString.Get("ItemId").ToString()); 
    147.           pfItemId.Name = valueIDD.ToString();  
    148.            
    149.         pfItemId.CurrentValues.Add(dcItemId); 
    150.         //ParaLocation.ApplyCurrentValues; 
    151.         pfItemId.HasCurrentValue = true; 
    152.         
    153.         //pfStartDate.CurrentValues.Add(dcStartDate); 
    154.         //pfEndDate.CurrentValues.Add(dcEndDate); 
    155.  
    156.         // now adding all these parameter fields to the parameter collection 
    157.         paramFields.Add(pfItemId); 
    158.          
    159.         //paramFields.Add(pfStartDate); 
    160.         //paramFields.Add(pfEndDate); 
    161.         ///////////////////// 
    162.         //Formula from Crystal 
    163.        //crViewer.SelectionFormula = "{COUNTRIES.REGION_ID} = " + int.Parse(Request.QueryString.Get("ItemId")) + ""; 
    164.         crViewer.RefreshReport(); 
    165.         // finally add the parameter collection to the crystal report viewer 
    166.         crViewer.ParameterFieldInfo = paramFields; 
    167.         
    168.          
    169.      
    170.     } 
    171. }

    Keep your post to under 1200 characters, else you loose the formatting. (you can do two posts if need be).
    Re. parameters. First, make sure yo have SP 1 for CR 10.5:
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Next, see the following:
    [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    CR Dev help file:
    http://msdn2.microsoft.com/en-us/library/bb126227.aspx
    Samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How to determine the structure of parameter method in WebServiceDataControl

    Hi all ,
    I have a web Service Data Control ,this data control has web service method that take a parameter of type (java.lang.Object)
    how can I determine the structure of this object to send it to the web service method
    (how can create the object that satisfy the object parameter of web service data control)

    I can see the constructor of data control which contain (name,age)
    but I don't know how can I send these two parameter in one object that satisfy the type of object in the web service method
    "parameterObject" : contain (name and age) values . (I don't know the type of "parameterObject" in web service)
    Map params = operationBinding.getParamsMap();
    params.put("arg0", parameterObject);

  • Include a message saying that please select the values for parameter/prompt

    Hi,
    We need to put in a message just below Parameters/Prompts saying that "Kindly fill in the above parameters and then Click on Apply to run the report" so that end users know what to do.
    Any ideas how to do that.
    As of now i have inserted a Text Item in Report Layout, but that doesnt look good.
    Thanks
    Ashish

    Thanks Vijay.
    Can we make use of subtemplates in the Layout Editor that comes with BI Publisher 11g?
    Cause all the sites show the use of subtemplates using microsoft word rtf.
    And i tried using subtemplates in Layout Editor of 11g and have not been successful so far..
    Thanks
    Ashish

  • How can I determine the type of video out connector I need?

    Howdy,
    I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
    System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
    Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
    http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
    and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
    I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
    Thanks for any help,
    Zebulon T

    Thanks, Ded,
    You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
    Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
    Thanks very much.
    Zeb T

  • Determine/read the value of parameter rdisp/max_wprun_time within ABAP

    Hi,
    I need to avoid program breaks caused by exceeding run time longer than defined in parameter rdisp/max_wprun_time.
    I will check the time since start of report in the critcal loop to bring the current data changes to a controlled end before getting a program break. I won't put a constant to the report, I will have a dynamical routine to avoid changes of report if the value of parameter rdisp/max_wprun_time will be changed.
    But how can I get the value of this parameter within my ABAP report? Is there a table where this value has been stored? Is there an existing function module or a method to read the value?
    Thank's a lot in advance!
    Georg

    The runtime   parameter (GET RUN TIME ) can be used to dynamically get the program run time
    DATA T TYPE I.
    GET RUN TIME FIELD T.
    WRITE: / 'Runtime', T.
    or
    U probably can store the start date and time in TVARV with some variable ( line concatenate program name + START Date + Time)
    and then use
    SD_DATETIME_DIFFERENCE
    or
    SD_CALC_DURATION_FROM_DATETIME
    Regards,
    Mithun Shetty

  • Using Win 10 there is a need for an app to determine the full device display area and aspect ratio programitically; the dimensions are needed to create full-screen bitmap.

    While Windows.Current.Bounds returns the application windows size, in order to create a full-screen bitmap my app would need to retrieve the full display area  of the device. I cannot even get the aspect ratio.
    Pre-Win10, using Windows.Current.Bounds I can create a bitmap of whatever size application window the user is seeing. When the user is showing my app at full screen, I can therefore get the full display area and aspect ratio of the device and create a full-screen
    bitmap.
    With Win10, the user would need to know to hide the taskbar and also display at full-screen before an app can retrieve the display area and aspect ratio using Windows.Current.Bounds.
    Before Win10 it's obvious to the user that full-screen is or is not being used. When I create the bitmap, I create it to fit the application window. When the app is displayed full screen, the bitmap will be full screen. Also, the app starts full-screen so
    I can detect the display area at startup if I need to.
    With Win10, to the user the app "looks like" it is full screen with the taskbar displayed even though it's not really full screen.
    I believe that in Win10 determining the full display area will be useful and not just retrieving the application window size.
    musical9

    Rob, Is this forum best way to get my suggestion to the development team?
    Before Win10 it's obvious to the user that full-screen is or is not being used. When I create the bitmap, I create it to fit the application window. When the app is displayed full screen, the bitmap will be full screen. Also, the app starts full-screen
    so I can detect the display area at startup if I need to.
    With Win10, to the user the app "looks like" it is full screen with the taskbar displayed even though it's not really full screen.
    Yes, Windows.Current.Bounds does work the same, but I believe that in Win10 determining the full display area will be useful and not just the application window.
    musical9

  • In InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to

    This may be a basic question... but in InDesign, how does one determine the pixel size of a text box? Specifically, we need to write text to specifications of 600 pixel width, and have no idea a) how to scale a text box to specific pixel width, b) how to determine what word count we can fit in, and c) how to do it in a table? Thanks!

    Set your ruler increments to pixels Preferences>Units & Increments. You can fill the text box with placeholder text Type>Fill with Placeholder text and get a word count from the Info panel with Show Options turned on from the flyout.
    From the Transform panel you can set a text box's width and height

  • How to determine the source to where my saved photo (not taken by my iPhone camera) on whether what application or website did i got that photo? need to go to the source again, please help

    how to determine the source to where my saved photo (not taken by my iPhone camera) on whether what application or website did i got that photo? need to go to the source again, please help

    There is no way to trace the source of a saved photo.
    You might have some luck if you search through the Safari web site history available via the Bookmark icon.

  • My location service is not working from the day one the response is that (cannot able to determine the location) .What can i need to do to see my location in maps and other application even the location services is enabled in the settings?

    From the day one the response is that (cannot able to determine the location) while using ios5.1 .What can i need to do to see my location in maps and other application even the location services is enabled in the settings?.Which means that is there is any problem in my ipad ? currently running on IOS 6.

    Your location is determined from a location database which contains the MAC addresses of routers and their physical location. A MAC address is a unique number which is built-in to all network devices when manufactured. The database is built and updated by actually driving around and mapping router locations.
    Since you just moved the location of your router has not been updated in the database and when you use Maps you will see your old location.
    If you go outside your house you can be correctly located because your iPod sees other routers which are in the location database. Note that you do not need to be connected to a router for your iPod to see it and obtain its MAC address.

  • Need Help in improving logic for determining the range

    Hi guys,
    I need some help in my program logic to determine the range of value. My purpose of this program is to find which combinations have the lowest amplitude.
    In the attachment is a set of number.
    e.g 10    0 is a combination.
    Each combination, I will need to draw a graph of data acquired using this combination VS gray level. There is 255 gray level. Every 5 gray level I will acquire a point so I will have 52 points.
    Next, I will get the maximum value - minimum value. And this is the amplitude for the combination. I can do all this function, however it is not practical for me to do it this way until 360 360. There is a round 1200+ combination. It requires a long time since I need to interface all this function with my hardware.
    The graph of each combination maybe a irregular shape. Do any of you have a logic to help me to shorten the process and find the range of values (combination) where the lowest amplitude may lies. Thanks!!
    Attachments:
    example.txt ‏11 KB

    Hi Johnsold,
    This is a example of my result. This is only a portion of it. The last column is the amplitude, I store all the 52 points into array and used Array Min and Max function. Then I use max - min to get the amplitude. From the amplitude I cannot see any pattern. Can you please advice me on it. Thanks!!!

  • FSG - Need to determine the first periode value in year

    Hi
    can anyone help me please
    i need to create a column or row in FSG with the first period balance value in years
    for example of the template is:
    parameter period is Mar-12
    Amount
    Balance of Jan-12 10,000
    Balance of current period 12,000
    thanks
    Lim Johny

    Hi;
    What is EBS version?
    Please review:
         How to Create FSG Report to show a Row Only if the Balance is Debit or Credit [ID 754162.1]
         How to Create a Row Set, Column Set, or Content Set report [ID 108305.1]
         FSG Functional Troubleshooting Guide [ID 136328.1]
    Hope it helps
    Regard
    Helios

  • The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The stren

    The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The strengthood for Apple for the fourthfullness to be legal, which I respect, can become too restrictive in my European eyes. Any hearing around? René

    As was noted in the introductory material for the Apple Support Communities website (presented when you registered), these forums are set up for user-to-user assistance and discussion, not for user-to-Apple communications.
    Suggest you resubmit your position statement to Apple via product feedback for iCloud, which you can access via a link on this page -
    Apple - Feedback
    ...we've all moved to iCloud, isn't it?
    Um, no, we all haven't.

  • In Win 10 technical preview cannot determine the full device display area and aspect ratio; the dimensions are needed to create full-screen bitmap.

    While Windows.Current.Bounds returns the application windows size, in order to create a full-screen bitmap my app would need to retrieve the full display area  of the device. I cannot even get the aspect ratio.
    Pre-Win10, using Windows.Current.Bounds I can create a bitmap of whatever size application window the user is seeing. When the user is showing my app at full screen, I can therefore get the full display area and aspect ratio of the device and create
    a full-screen bitmap.
    With Win10, the user would need to know to hide the taskbar and also display at full-screen before an app can retrieve the display area and aspect ratio using Windows.Current.Bounds.
    Is there any way to get the display area and aspect ratio of the device without asking the user to fully maximize the application window?
    musical9

    Rob, Is this forum best way to get my suggestion to the development team?
    Before Win10 it's obvious to the user that full-screen is or is not being used. When I create the bitmap, I create it to fit the application window. When the app is displayed full screen, the bitmap will be full screen. Also, the app starts full-screen
    so I can detect the display area at startup if I need to.
    With Win10, to the user the app "looks like" it is full screen with the taskbar displayed even though it's not really full screen.
    Yes, Windows.Current.Bounds does work the same, but I believe that in Win10 determining the full display area will be useful and not just the application window.
    musical9

  • HT5219 Do you need a Thunderbolt 2 Cable to get the speed out of a Thunderbolt 2 Port? Or is there just one kind of Thunderbolt cable, and its the Thunderbolt 2 port which determines the speed?

    Do you need  or is there a specific Thunderbolt 2 Cable to get the speed out of a Thunderbolt 2 Port? Or is there just one kind of Thunderbolt cable, and its the Thunderbolt 2 port which determines the speed?

    Hi XChip73,
    The links below will answer your questions about specific cable needs for Thunderbolt 2 and how the speed is determined.
    Apple - Thunderbolt: Next-generation high-speed I/O technology.
    Apple Thunderbolt cables and adapters - Apple Support
    Cheers,
    -Jason

Maybe you are looking for

  • Just installed security update 2014-002, now Itunes will not open. Have rstrated but no change, need help to fix, please

    Just installed security update 2014-002, now Itunes will not open, I have rebooted twice with no effect, I don't know what else to do to get my itunes back. Need help please

  • Trigger inbound proxy from ABAP

    Hi Experts, We have a requirement to trigger inbound proxy from within an ABAP program. Is it possible to trigger an inbound proxy from ABAP if so please guide me on how to achieve this? Thanks Sanu

  • Changing discount account from revenue

    Hi, referring to metalink document number 240123.1, which state that changing discount acount to account other than revenue account was unavailable and "may" be handled by future releases. Is this feature available now in R12? how can subledger accou

  • Tool for comparing two schemas....

    Do we have any tool avalilable in oracle that compares two different schemas and find out the differences between two so that we can validate a schema against a standard one?

  • Networking between macs problem

    I have a Macbook pro and an 2 iMacs running mavericks and windows 7 under parallels and also 2 PC's running windows 7 on my LAN.  They are all linked up with ethernet cables to a hub and a router.  Internet connection on all is good and solid and nev