Crystal 8.5 - now 9 - report in VB6 gives "This field name is not known"

Hi,
I've got to do some maintenance on an old VB 6.0 project that had some Crystal 8.5 reports in it (DSR files).
I only had Crystal 9.0 (developer edition) available, so am using that.
Running one report I now get the error "This field name is not known".
Q1. How can I find out what field - and where in the report it is?
Q2. Is there anything special I should have done to "upgrade" the DSR/DCA and DSX files?
Thanks,
Details:
The reports are not "visual", they are created within a DLL that saves them as PDF's and/or prints them directly.
The reports are bound at run-time to recordsets; at design time they use field definition files (TTX). I believe I've made sure the field definitions match the recordsets that they represent.

Hi,
Thanks for your replies.
Falk:
Nothing in particular was done to upgrade the files, other than to upgrade the VB project to reference the Crystal 9 dll's and such instead of Crystal 8.5.
The Crystal reports designer does not seem to want to open a DSR file. I did find some RPT files in the project; but while the Crystal reports designer will load them it does not seem to want to save as DSR files.
The "Field name is not known" message is returned in the error raised when VB tries to run the report, and it stops the report from being built.
Ludek:
That's a good kbase article. I had actually guessed that was an issue and had fixed two of the three reports in this project, by dumping (to text files) the recordsets being bound to them and comparing real field names with the TTX files. (I also updated some of the custom formulas in the reports to match the proper names).
...but in the third report, I just couldn't find the mis-match; checking the recordsets, TTX files and any customisable formulas I could locate.
As for the patch - after installing it the report designer no longer works at all in VB6 - not for the reports that I had got working, nor even for a new report!
(added: actually I can't get any designer up, even the VB forms designer won't load, in a project with no Crystal in it...)
At this point I "give up".
VB Express 2008 was used to "upgrade" the VB project to .Net and then convert the DSR's to new format RPT's. They were then loaded into a fresh VS 2008 (C#) project.
I'm now at the point of trying to figure out how to put in the report events that were in the old DSR files in the original VB project (there is code in them to assign the recordsets as sources, at run time, and calculate and make available information from the report).
Thanks again,
Edited by: pzkpfw on Aug 14, 2008 12:19 AM clarify
Edited by: pzkpfw on Aug 14, 2008 12:21 AM
Edited by: pzkpfw on Aug 14, 2008 5:16 AM

Similar Messages

  • "This field name is not known", VB6, CRXI RDC

    Implementing RDC/designer in VB6 code.
    The underlying DB is SQL SERVER 2005. I turned to the RDC / designer method because I couldn't figure out, in a way that worked, how to override the SQL Server db at run time on client machine. My reports continued to want to find the tables on my development platform, not the live data in production. I've been fighting this thing for 6 weeks. (Never had the problem with Access mdb's, but that's a moot point)
    Any help / advice is appreciated!!
    All is well with my reports containing 1 table, using the following code:
    module
    Public KReport As New CrystalReport2
    command button
    Set KReport = New CrystalReport2
    KReport.DiscardSavedData ' (may not be necessary, the report does not have saved data)
    KReport.Database.AddOLEDBSource Adodc1.ConnectionString, "Netlink_ProductMaster"
    KReport.Database.SetDataSource Adodc1.Recordset, 3, 1
    Load Form2
    Form2.CRViewer1.ReportSource = KReport
    Form2.CRViewer1.ViewReport
    Form2.Show
    However, in my report with multiple tables I get error "This field name is not known" but no indication as to which field is a problem. Here's my code: (Note - If I bypass the SetDataSource code the report displays fine. That won't work at user site)
    module
    Public LReport As New CrystalReport3
    command button
    Dim i%
    Dim result&
    Set LReport = New CrystalReport3
    LReport.DiscardSavedData
    For i% = 1 To LReport.Database.Tables.Count
    LReport.Database.AddOLEDBSource Adodc1.ConnectionString, LReport.Database.Tables(i%).Name
    LReport.Database.SetDataSource Adodc1.Recordset, 3, i%
    ' LReport.Database.Tables(i%).CheckDifferences result&
    ' LReport.ReadRecords ' This just moved the error to here rather than when Form2 was "shown"
    Next i%
    Load Form2
    Form2.CRViewer1.ReportSource = LReport
    Form2.CRViewer1.ViewReport
    Form2.Show

    Are the data structures identical?
    Did you try Database, Verify Database... (in Crystal Designer for that report)?

  • Crystal Viewer error "This field name is not known"

    I have MAS500 with crystal 10 that runs a report from a view in a SQL data base and it ran fine when only MAS500 and ABRA were installed on the terminal server. Then we installed a new product CribMaster that also uses Crystal 10.  After CribMaster was installed we got the error "This field name is not known" from Crystal viewer.  The report has a selection parametar .  I feel that there is a dll file that got over written, but do not know which one.  I can run the report from Crystal OK, but not from within the application.

    Since you can run the report from Crystal OK, but not from within the application, I'd recommend trying to figure out the dlls loading, or not in the app. Use a utility such as [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to determine the differences. Modules will compare the log results for you (Module menu, choose "Differences").
    You may also want to consider contacting the app creators to see if they can help...
    Ludek

  • Crystal Report Windows Forms Viewer error: "The field name is not known"

    Hi,
    My report runs fine in the Crystal Reports viewer.  When we try to view the crystal report through a piece of 3rd party software, I start to get errors in a few of my formulas indicating that "the field name is not known".  I can clearly see that the field is in my crystal report.  Has anyone else had this problem?  Any ideas on what might be happening?
    Thank you.

    Just to provide some further clarification on my problem:
    The "field name is not known" error seems to be occurring only in a few formulas where I have a statement like this:
    if ISNULL({somefieldfromdatabase}) Then
    I've used this for many other formulas and not had an issue with them.  I've verified that the database and the stored procedure contain this field.

  • How to give own field  name in alvgrid

    how to give own field name in alvgrid
    CLEAR LS_FIELDCAT.
      LS_FIELDCAT-TABNAME       = G_TABNAME.
      LS_FIELDCAT-FIELDNAME     = 'KBETR'.
      LS_FIELDCAT-REF_FIELDNAME = 'KBETR'.
      LS_FIELDCAT-REF_TABNAME   = 'KONV'.
      APPEND LS_FIELDCAT TO  RT_FIELDCAT.
    here i want to give field name in output like this
    Non-Deductible Tax.
    thanks in advanced.

    Hi Laxman,
    Getting your required description is very simple.
    Just fill these 3 parameters in your field catalog.
    CLEAR LS_FIELDCAT.
    LS_FIELDCAT-TABNAME = G_TABNAME.
    LS_FIELDCAT-FIELDNAME = 'KBETR'.
    LS_FIELDCAT-REF_FIELDNAME = 'KBETR'.
    LS_FIELDCAT-REF_TABNAME = 'KONV'.
    LS_FIELDCAT-SELTEXT_L = 'NON-DEDUCTIBLE TAX''. "LONG
    LS_FIELDCAT-SELTEXT_M = 'NON-DEDUCTIBLE TAX''. "MEDIUM
    LS_FIELDCAT-SELTEXT_S = 'NON-DEDUCTIBLE TAX''. "Short
    APPEND LS_FIELDCAT TO RT_FIELDCAT.
    The Comments besides the desctription tells what kind of format for display is ..
    Regards,
    Raghav

  • Bonjour for windows gives this error - You do not have sufficient access...

    I installed Bonjour for windows on a PC running XP. When I run the Bonjour app from windows I can see the printer I wish to connect to. It is shared off of my G3 server. When I try to connect I get the following error,
    "You do not have sufficient access to your computer to connect to the selected printer"
    I have done some research through Apple's info database and found,
    http://docs.info.apple.com/article.html?artnum=302408
    I followed the instructions and still I get the same error. I have rebooted the PC deleted all the printers under the printer window. But no luck. I found a similar request by another apple forum user. His issue was the same but he was using 'Parallels' emulator. But no solution was provided.
    Any suggestions?

    Well this is what I've done to date to try to resolve this issue.
    I uninstalled Bonjour for Windows from my PC. I checked Apples support pages dealing with Bonjour for Windows (BfW). As suggested I deleted all printers in my printer window, (to delete all possible print Queues). I updated my Windows to the latest patch for XP. I reinstalled BfW, with the XP Firewall turned on. It is suggested that BfW will make the necessary changes to the XP firewall to allow traffic going through port 5353. I have tried more than one printer off of my G3 and I double checked my external router port restrictions, and I turned off the firewall on my G3, shared mt printers in OS X, and even turned on windows file sharing. I even updated my G3 to 10.4.8
    I pinged my G3 from my XP machine it's there. Also I can see the G3 with it's printers when I browse the network from the XP box. Also I'm on the same local subnet 192.168.2.x
    The only thing I have not done yet is see if it is possible to ping a bonjour host (my G3) from a bonjour client (XP box). That would at least verifiy the 5353ports.
    Anyone have a bonjour utility to do that? Probably have to run in a Windows enviroment. Or can a ping packet be directed to use a particular port?

  • When i go on a site we use daily it now wont let us log in user names ok not the password

    when we try and log in on our site it will accept user name not the password normally does ok

    Hi Wayne!
    I assume you get an error message about wrong password on the site every time you try to log in?
    There can be several possible reasons for this problem, here are some links to KB articles that may prove helpful in solving your issue:
    [[Cannot log in to websites]] I think is the most likely guide to help you solve this problem.
    [[Username and password not remembered]] is another possible problem cruncher.
    Please try following these guides to identify the problem and get it solved.
    Service information: You might also want to test your plugins via the [http://www.mozilla.com/en-US/plugincheck/ Mozilla Plugin Check page] to stay on the safe side - things like Adobe Reader, Apple QuickTime, Sun Java and Adobe Flash plugins are essential to keep updated for both security and stability reasons. If the website uses a 3rd party technology like Javascript or Flash for login, updated plugins may be required and thus may also solve the problem.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • Report which can give Inventory cost & Cost of Goods sold

    We need to track below information for each material
    - Previous Month Inventory
    -Current Month's Cost of Goods sold
    Then we calculate
    Financial Days on Hand = Previous Month Inventory / Current Month's Cost of Goods sold / Working Days
    Any SAP Reports which can give this information

    Hi,
    I m not sure whether single report could suffice your requirement.
    this is just a suggestion.
    please run the MC.9 report and switch it into the monthwise.
    you will get the inventory monthwise but this could mean you have to run it multiple times if you need for each material monthwise. but at least try this for one material and check.
    for the COGS for this month you need to know how many deliveries are made and then sum up those materialwise. you can check sales reports on this and you might get the details. then you can apply your formula.
    in case you dont want to do this then you need to create Z/Y report with the help of ABAPer. here i will suggest you to call the std reports and then display them into a ALV grid with your layout.
    regards,
    Adwait Bachuwar

  • Field names with now values behind are written to RDI-File?

    Dear experts,
    I have a question concerning the RDI file format.
    The specification of RDI file said the following about the structure of each RDI file
    "field name" is placed in position                 :        104     
    "field length" indicator is placed in position :        235 - 237
    "field value" is placed in position                 :        241     Specified by u2018field length indicatoru2019
    In addition I got the information, that even if there is no field value for a specific field name. That the field name and also the length of the field will be displayed in the RDI file.
    Now I generated an RDI file and I see that only these field (name, position, value) are displayed in RDI which have a value. Fields which contains no value are not displayed!
    In conclusion, my first question would be if its correct that field names and also the lengths are everys time displayed in RDI even if there is no value for it?
    If this is true,  the second question would be: Whatr could be the reason that the field names are not in the RDI file when there is no value for it.
    Thanks in advance for any helpful answers

    Dear experts,
    I have a question concerning the RDI file format.
    The specification of RDI file said the following about the structure of each RDI file
    "field name" is placed in position                 :        104     
    "field length" indicator is placed in position :        235 - 237
    "field value" is placed in position                 :        241     Specified by u2018field length indicatoru2019
    In addition I got the information, that even if there is no field value for a specific field name. That the field name and also the length of the field will be displayed in the RDI file.
    Now I generated an RDI file and I see that only these field (name, position, value) are displayed in RDI which have a value. Fields which contains no value are not displayed!
    In conclusion, my first question would be if its correct that field names and also the lengths are everys time displayed in RDI even if there is no value for it?
    If this is true,  the second question would be: Whatr could be the reason that the field names are not in the RDI file when there is no value for it.
    Thanks in advance for any helpful answers

  • Connection error with Crystal Report XI, VB6 and Sybase ASE15

    Hello !
    I have an error #4002 when I want to launch a report in VB6 with the ActiveX Crystal Report Viewer.
    I use Sybase ASE 15 with an ODBC link and the reports run stored procedures.
    This error seems to be an authentification error, but I don't know what parameters are missing or wrong...
    - My reports works well in the report designer.
    - The reports connected to a text file or an ADO recordset work in VB6.
    - The Verify Database works in design mode in VB6.
    - The problem is the same with tables, stored procedures, SQL and with or without parameters...
    - I tried to connect the report to a DataEnvironnment but I get the same error.
    The problem appears when I use the Crystal Wizard to create a form automatically AND when I create objects directly in code like :
        Dim crapp As CRAXDRT.Application
        Dim oReport As CRAXDRT.Report
        Set crapp = New CRAXDRT.Application
        Set oReport = crapp.OpenReport("C:\myreport.rpt")
        CRViewer.ReportSource = oReport
        CRViewer.viewReport
    Please help !

    Hello,
    I don't see any database logon code in what you posted.  You need to log onto the database at runtime since Crystal Reports will never store passwords.
    You can download and review the [Connection Properties|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00635998-751e-2b10-9cba-f50ee1e4ef81] document for more information on how to log onto your database at runtime.  This document was written for CR9, but it's the same for CR10, CR XI (v11.0), and CR XI R2 (v11.5).
    I hope this helps.
    Sincerely,
    Dan Kelleher

  • How do I pass a default parameter to a CR XI report in VB6?

    Hi,
    How do I pass a default parameter to a CR XI report in VB6?
    For example I have a parameter list of years from 2000 to 2020 and I want to pass on the result of str(Year(Now)) so that the user automatically sees the current calendar year as his/her default option - but can choose another year from the drop down list - if wished.
    "AddDefaultValue" seems to have no effect at all (probably because the current year already exists in the parameter list)
    "AddCurrentValue" removes the parameter altogether and the report defaults to the current year.
    Any suggestions?
    Thanks in advance!
    Peter Tyler

    Hi Mark, thanks for your quick response.
    >>You might find it easier to do the dropdowns and calendar selections on the VB6 side and just pass the record selection to the report >>
    This is what I am doing but I cannot get the current year to appear as the default in the drop down parameter list also it appears I cannot clear the existing report parameter fields.
    This is my code:
    'clear the existing parameter list of the Year parameter
    MsgBox CrRep.ParameterFields.GetItemByName("Year").NumberOfDefaultValues
    This gives me the total number of existing parameters in the CRXI report
    CrRep.ParameterFields.GetItemByName("Year").ClearCurrentValueAndRange
    MsgBox CrRep.ParameterFields.GetItemByName("Year").NumberOfDefaultValues
    This gives me the new number of existing parameters in the CRXI report which is exactly the same as before so .ClearCurrentValueAndRange seems to have no effect
    'now add the new default parameter to the list
    CrRep.ParameterFields.GetItemByName("Year").AddDefaultValue (Str(Year(Now)))
    CrRep.ParameterFields.GetItemByName("Year").AddDefaultValue (varUnderline)
    'now generate and add the required parameter fields
    Dim varParameterYear As String
    varParameterYear = "2003"
    Do While Not varParameterYear = "2031"
    CrRep.ParameterFields.GetItemByName("Year").AddDefaultValue (varParameterYear)
    varParameterYear = varParameterYear + 1
    Loop
    The result of the above as that the intially declared parameter (Str(Year(Now)))
    - which is "2009" - now appears at the top of the generated parameter list but is not the default parameter and the user still has to drop down the list box to choose the year.
    Any advice on both these issues would really help !
    Peter Tyler
    Edited by: Peter Tyler on Feb 27, 2009 11:19 AM

  • Crystal Reports Viewer 2008 and parameter fields

    Hello,
    I saw this product on the main Crystal Reports site this afternoon and decided to download it to try it out.  I have a number of users who would benefit from being able to preview their report results prior to actually running the report.  This seems like the perfect product.  I have a large number of Crystal Reports which were created in Crystal version XI.  I also downloaded the free 30 day version of Crystal Reports 2008 yesterday to see what new features are there.
    While testing Crystal Reports Viewer, I tried to run one of my reports which needs a parameter to run properly (account number).  This type of parameter is needed for probably 98% of this business' reports. 
    The problem: Crystal Reports Viewer does not prompt me to input the parameter.  In my actual Crystal Report, I had the box "Save Data with Report' left unchecked, as the account number frequently changes.  However, if that box is left unchecked, Crystal Reports Viewer will give me the error message "No Saved Data.  This report file does not contain saved data and cannot be viewed.  To get data into the report, please open and re-save it in the Crystal Reports designer application with the "Save Data with Report" option selected."
    Thinking that possibly it was the version of Crystal Reports in which the report was created (XI), I downloaded the free trial of Crystal 2008 and created a very simple test report with one parameter for account number where the account number is retrieved from our database.  And I am having the same trouble. 
    The "Help" section of Crystal Reports Viewer tells me that I can select my parameters in the parameter panel.  I do not see anything in my parameter panel other than the words "Current Data Set Last refreshed: 04/12/10 2:58 PM".  The help tells me that I can "select the parameter directly in this panel by entering a new value", but there is no option to do so.
    Any help would be appreciated.
    thanks,
    Noel

    What I've learned is that I was originally using Crystal Viewer XI and upon opening it I received a message indicating there was an update.
    I ran the update which put me on Crystal Viewer 2008.
    Since then I have not been able to refresh my screen to bring up the parameters.
    See the attached forum for another post concerning this same issue. 
    Paramter Prompts in Crystal Viewer

  • I used to champion these forums. Now I don't give a gnat's...

    I was a contributor, a corrector, a clarifier.
    I'd write 1,500 words explaining every possible angle on the simplest of topics, sometimes revealing tricks to people who have far more experience with Photoshop than I do. I exercised painstaking detail in choosing the proper terminology and phrasing when answering questions, and I'd test everything to make sure what I posted was correct. I was an obsessive re-editor of my posts if I noticed the wording was wrong, or didn't flow well. I'd craft screen shot composites so clean you couldn't tell they weren't monitor images that could occur natively. I added arrows, and numbering, and translucent, colored-box paragraph backgrounds for descriptors, colors chosen for the best clarity I could muster. I'd bodge together difficult GIF animations and QT Movies if it would help a user understand a concept more completely.
    I was a defender, a protector, an evangelist.
    I took it personally when newbies and spammers would come in and muck the place up. I was sometimes brusque, other times gentle in trying to bring people into line with how to get the most out of their time here. I beat up on troublemakers ruthlessly, and without remorse.
    I brought the "How to Get Help Quickly" mantra to this forum after reading it elsewhere, because it was the best exposition I'd ever seen on the subject of efficient information exchange.
    I'd take the time to help troubleshoot forum problems.
    Now, I don't give a crap about what happens to this place. I'd been hoping for the best, as I had during past attempts at major forum changes.
    It's clear to me now that the planning, preparation, roll-out and fine tuning has been doomed from the start.
    Every single person involved in ramming this new system through is to blame.
    And I'm only one person. I'd guess there are hundreds of people who feel the same way I do.
    Too bad, Adobe. You totally and completely screwed up.
    I'll still visit once in awhile, because there are people here that I like.
    But as for all that content I was giving away for free—and happily, I might add—and all the cheerleading I did for this place?
    You can shove all that right up that gnat's arse and then go sit on your own thumbs and spin.
    It feels to me like you are intentionally doing almost everything in your power to discourage the type of participation I used to revel in. From slow bug fixes and promises unkept (EFF you very much, Jive–shysters) to the mere trickle of ongoing feedback and update info offhandedly tossed to us, Adobe have become slumlords, slapping paint on a building that fails to meet standard-of-living code. Sure, there are some decent new features, but they either don't work, work only part of the time, are cumbersome, and generally regarded as so slow as to inhibit any sort of lively momentum.
    I'd be ashamed and embarrassed to be the captain of this rotting ship. As a fully vested, ranking mate on this vessel, I hereby resign my commission.
    You don't deserve my help anymore.

    Phos, although I am answering your opening message, I'm not really addressing this message to you, but to everyone.
    Almost exactly a month ago, I accepted the first important job I have been offered in more that two years. I did although it had a 30 days deadline and I knew it was very difficult, if not impossible, to complete it in that time. Well, I did manage to finish it not long ago, and one of the first things I did was to come back to my once beloved forums, full of hope of being met with some important changes introduced in these 30 days.
    I am sorry to say that, so far, I have noticed only these two changes:
    1. The "Report spam..." link in the stickies now points to the correct thread, not to a locked one, something I had been asking for weeks before this 30 days interlude; and
    2. The problem for which I offered a suggestion in this post
    http://forums.adobe.com/message/1968406#1968406
    and which had received a very good solution as I reported two days later, is back here. Plus, the "Next" button doesn't work (I don't remember if it worked before the change that was reverted).
    As this forum is full of so many easy to fix complaints, seeing only these two changes in 30 days -one of which can hardly be called an improvement- was really very discouraging. However, what really got me down was reading the opening post of this thread.
    Those who haven't followed Phos' trajectory in these forums may think that he is making false pretences, or at least exagerating, about his contributions to these forums. I am one of those who can testify that he is doing neither.
    To make it short: over these so many years trying to give whatever modest help I'm capable of in the Acrobat and Reader forums, I lost count of the times I asked Phos, somewhat jokingly, to please leave the easy questions for me to answer. Each time I saw a just published easy one, I rushed to try to answer it, only to find he had done a much better job than my attempt, and had replied a several other more recent questions in the meantime. He showed an infinite patience to answer the same questions over and over again, which I admired because I don't have it and just refered the questioner to the appropriate FAQ instead -when I did manage to post before he did.
    And he did everything else he writes in his OP, never boasting about what he did and accomplished. That's why I am sorry he had to do it now, I imagine that in an attempt to put some weight to his words. Not for us, of course, but for those responsible for this unbelievably large fiasco they have so stubbornly refused to acknowledge. And we used to call a fiasco the previous one, which was nothing compared with this mess, and which was rectified!
    I am afraid that I am feeling my age, and so I'm finding that the enormous effort that too many very capable users have being putting in suggestions to improve these new forums, since the last "little fiasco" until now, to be such an gigantic waste, that I also don't feel like continuing. Had I not had this 30 days interlude with no noticeable changes, I would probably have continued by inertia for much longer, hopefully waiting for the improvements that never come, but this has opened my eyes. However, just logging in, or moving from one forum to another, is so excruciatingly slow that I find I simply do not have enough time to waste in just waiting for things to happen.
    I will miss the group spirit of the old forums, and the many persons I got to know and like and care for, although knowing that I would never meet them. But then, I am missing more of them everyday and, after all, such is life.
    Just a final thought. It is most probably true that JC has spent this week in the moutains. I would be happy to be corrected if I'm wrong, but I would say his presence has hardly been noticed, if at all, for quite a lot longer than a week. Another one of those many not at all encouraging signs.

  • Filters in Web intelligence reports(How to give parameter in WebI)

    Hi
    i am having a proble with webintelligent where, In webintelligence report i need to show the employee monthly sales wise report with bar graph in that same report i want to show the comparison of previous years of sales for ex: if i select employee name, month name, year (amy ablert, december, 2003)
    1. In first block  i need yearly comparision of employee sales report in line graph it should show previous year like 2001, 2002 and 2003 comparision in that report,
    2.In second report block it should be show me only december month of same year 2003 report in bar graph, In that report it will give detail of product category,sales and month.
    3. In third report it should give me information of sales order no, product category and sales(sum) in table formate. And all three blocks of report i want to show on in single report with the filter of (employee name, month name, year)
    i am new in business objects
    need assitants on this i will post the screen shot of that report hope you all can understand
    here is the url: [http://errorsbusinessobjectsxir3.blogspot.com/2010/10/blog-post.html]
    in that blog you can see the sql server reporting where 1st image will yearly comparison of employy,
    2nd will show you the december product category and sales and third will show you the sales order,sales, product category
    in last report you can see the selection of there filter month,year,employee
    Edited by: prasadboxir3 on Oct 12, 2010 11:10 AM

    Hey prasadboxir3,
    I solved the same issue for Quarters earlier and my DB is SQL Server, Hope it will helps you a lot.
    The solution is to add a condition to your query filter. Conditions have the yellow funnel Icon and are listed under the class in the Data Tab.
    Adding a Class Condition Filter in done in the Universe Designer. Defining a condition object is described in the Universe Designer Guide, Chapter 5.
    While in designer, right click a class and choose Condition. Name your condition and provide the Where logic to get the last four quarters of data. Since the logic can be complex, here's two MS SQL Server examples of quarter based conditions:
    Name: Case Begin Date This Quarter:
    WHERE: Code:
    @Select(CaseProgram\Case Begin Date) BETWEEN DATEADD(qq, DATEDIFF(qq,0,getdate()), 0) AND DATEADD(ms, -2, DATEADD(qq, DATEDIFF(qq, -1, GETDATE()), 0))
    Name: Case Begin Date Last Quarter:
    Where: Code:
    @Select(CaseProgram\Case Begin Date) BETWEEN DATEADD(qq, -1, DATEADD(qq, DATEDIFF(qq, 0, GETDATE()), 0)) AND DATEADD(ms, -2, DATEADD(qq, DATEDIFF(qq, 0, GETDATE()), 0))
    Conditions based on the current date/time provide the point of reference for your date calculations. Use the GetDate function along with the Between function. If your date field includes the time, don't forget to include the time (23:59:59) on the second date. This is done by subtracting the 2 milliseconds.
    Once the conditions are in the universe, drag the condition into the query filters area of the Edit Query screen. The advantage of using conditions is that your report can now be scheduled and does not require a user prompt.
    Just do it for Month/Year object for your req.
    Let me know if you have any concerns.
    Gracias...!!

  • Crystal report for Enterprise show latest instance shows URL not found error

    hi everyone,
    we recently upgraded our BO4.1 platform from SP2 to SP5.
    after the upgrade we are getting error while view the latest instance of Crystal report in BI launchpad, this error occurs only for Crystal report and that only when we scheduled in pdf format.
    anybody faced this issue before, any idea or resolution?
    Thanks in advance.
    Regards,
    Ganesh

    when I click on view latest instance, i am getting below error.
    The requested URL /BOE/portal/1503182223/CrystalReports/filename/CREnt_BICS_STS_Check.pdf was not found on this server
    but when see the path, I could see the path till /BOE/portal/1503182223/CrystalReports/
    is it remaining path, like the “file name” part generated at runtime?
    could you please support me, do we need changes required in tomcat?
    Regards,
    Ganesh

Maybe you are looking for

  • [Help]Memory recommendation for MSI x48C Platinum

    Hello MSI community, I recently bought a MSI x48c Platinum from a friend and I want to upgrade the RAM to DDR3. Right now I have Mushkin 4GB (2x2GB) DDR2 PC2-8500 5-5-5-15 Blackline Overclocked the CPU (Q6600) from 2.4Ghz (266 x9) to 3.01Ghz (333 x9)

  • SO_DOCUMENT_SEND_API1 - Filename extension

    Hi Experts, I am using FM SO_DOCUMENT_SEND_API1 to send an excel attachment. I am passing filename 'UPDATE_LOGS' in packing list but when I check in SO01(Outbook) file name for extension is UPDATE_LOGS_YYMMDDHHMMSS.xls". How to I correct this.Heres t

  • "You may need to enter the name and password for an admin" ....

    Hi everyone! I'm getting this error when trying to copy files over to a network drive. First, it'll pop up and say: "You may need to enter the name and password for an administrator on this computer to change the item named" At the same time, it will

  • Time stamp to number function

    The Conversion VIs and Functions palette has a function that converts the number of seconds elapsed to a time stamp (To Time Stamp Function).  I need to go in the other direction, from a time stamp to a double (number of seconds elapsed since 12:00 a

  • Can find driver that lets me scan with HP 2545

    My HP laptop's hard drive died.  New one installed and now comes the set up issues.  Need to download what's necessary for my 2545 printer to work.  Got it to print, but can't get the part that let's me scan. Used to have icon on desktop that when cl