Field name is not know error when trying to add a filter

Hello all!
I need to add a filter dinamically to display a report. I'm using Crystal Reports 10 w/ RAS server.
There is an sql statement in Database Fields > Command. It uses a join and a correlation name for table name: TT.START_TIME.
I am getting a "Field name is not known" error:
"This field name is not known. Details: errorKind Error in File C:\WINDOWS\TEMP\{D375AB61-F7AE-4BCC-AF5E-6702C0EFDE10}.rpt: Error in formula . '{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)' This field name is not known. Details: errorKind"
I tried to specify the field the following ways:
Command.START_TIME
TT.START_TIME
START_TIME
TIME_TRACKER.START_TIME (time_tracker being the table name)
MAIN.TIME_TRACKER.START_TIME (main being the schema)
All of the above is giving the same field name not known error.
I am adding the filter the following way:
        String whereClause = "{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)";
        IFilter filter = rptClientDoc.getDataDefinition().getRecordFilter();
        filter.setFreeEditingText(whereClause);
        rptClientDoc.getDataDefController().getRecordFilterController().modify(filter);
I also tried the following where clause:
String whereClause = "{Command.TT.START_TIME} > DateTime (2006, 08, 01, 09, 00, 00) AND {Command.TT.START_TIME} < DateTime (2007, 08, 24, 04, 45, 00)";
still doing the same thing.
If anyone could please help me w/ this I'd really appreciate it!
Thank you!
Anastasia

The first formula was created using the selection formula expert. I only added the TT part after it didn't work giving the same message. The name the expert gives it after I click on the field is {Command.START_TIME}. Still gives the invalid field name error. -_- Could the rest of the forumula be causing the problem?
In regards to parameterizing the SQL Command, I spoke w/ the gentleman who creates these reports in Crystal, he says it's not possible, because sometimes we don't want a where clause and sometimes we do.
Is there a way to directly edit the SQL string itself which is in the Command through java?
Thank you very much for taking time to respond.
Anastasia

Similar Messages

  • "This field name is not known" error when upgrading from VS 2003 to VS 2005

    When we upgraded our web servers from VS 2003 to 2005, our crystal reports web viewer began having a problem with reports that contained sub-reports.  We now are getting the following error on the web page.  The reports were developed in Crystal 10, but I upgraded them to Crystal 11 but still recieved the same error.
    Any help would be greatly appreciated.
    thank you
    This field name is not known. Error in File C:\DOCUME1\DMDEVB1\ASPNET\LOCALS~1\Temp\CategorybyStateProductDist {B0FCB37B-A7DB-4786-AD69-55568EC94923}.rpt: Error in formula . '{usp_wd_RptCategoryByStateProductDist;1.State} = {?@State} ' This field name is not known.

    HI Karl,
    Also Try to update the database connection for the report.
    You can do that by opening report in designer, then
    Go To Database Menu -> Setdatasource Location
    Connect to the datasource you want and update the datasource.
    Save the report.
    Hope this Helps !!!
    Prasad

  • Field name is not known Error in formula field...

    Hi,
    I have a report in CR11.5 r2 that I call from VB6.
    The report works fine, until a I create this formula, Trim ({RSE.PatName}).
    When I put this formula field in a section in the report, I have this error, "Field name is not known Error".
    Any idea?

    Make sure you have SP 6:
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Does the formula work in the designer?
    Are you changing datasource at runtime? If so, can you change to that datasource in the designer and run the report there?
    If you do not use the Trim function, does it work?
    If you do not use the field in a formula abd place it in say, the detail section as a test, does the report work?
    But remember that what ever the report is doing at runtime, must work in the designer 1st.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Action list not found error when trying to install Flash 11. I have IE8 and windows 32 bit. What can

    action list not found error when trying to install Flash 11. I have IE8 and windows 32 bit. What can I do? Thanks

    Hi, Please try to download the installer from the links provided in the following page: http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    Thanks,
    Sunil

  • Fatal error when trying to add derived table

    Hello,
    I'm new at desiging a universe. I get the following a fatal error when trying to add a derived table to my universe:
    1 processor x Family 15 Model 0 Stepping 0
    Windows 2000 Workstation  v5.1 build 2600 (S)
    Physical Total/Avail: 2.097.151 Kb / 2.004.940 Kb
    Temp directory C:\DOCUME1\xxxxxx\LOCALS1\Temp\ (1 Kb available)
    'Unknown' video card
       1280 x 768 in true color
    (doesn't make sense to me)
    I use an ODBC connection that connects to a MySQL database. When I test the connection it's fine.
    I am trying to add a derived table because it seems that my universe cannot produce LEFT OUTER JOINS.  I read somewhere that I should set my ansi92 parameter to YES instead of NO. But, everytime I re-open my universe, it sets itself automatically to NO again.
    My utlimate goal is :
    For example, list ALL the people, left join my table to their websites, but return ALL the people, even if they don't have a website.
    I dont' understand, my join should be simple enough.
    Anybody knows what could be causing all these restrictions ?
    Thanks for you help.
    Edited by: Sose Canadian on Feb 9, 2009 9:40 PM

    Hi Sose,
    In BusinessObjects (Universe) Designer, the outer join option in a join is not available and is dimmed when using a Generic ODBC connection.
    Try Following Solutions:
    Solution : 1
    When using an ODBC connection the odbc.prm must be modified on the machine where BusinessObjects Designer is used.
    Use the following steps to modify odbc.prm:
    1. Locate odbc.prm in the following folder:
    \Business Objects\Business Objects Enterprise 11\win32_x86\dataAccess\Connection Server\odbc
    2. Open odbc.prm in a text editor and modify the parameter 'EXT_JOIN' so its value is 'YES' instead of 'NO'.The outer join option is now available in BusinessObjects Designer.
    If the outer join option is still not available after following the steps above. open odbc.prm in a text editor and modify the parameter OUTERJOINS_GENERATION. Change its value from 'NO' to either 'ANSI92' or 'ODBC'.
    Solution : 2
    This can occur when user is using a non-database specific middleware such as generic ODBC. Generic ODBC allows creating a successful connection and universe, however will not allow the Outer Join option.
    The syntax for outer joins is specific to each database and the Generic ODBC driver only lets you access standard common features of all ODBC data sources.
    Ensure that you are using the database specific middleware to create the connection.
    I Hope this Helpsu2026.
    Thanksu2026.
    Pratik

  • I am getting an error when trying to add a caption.

    I get the following error when trying to add a caption to a photo.   "An error occurred while reading files or writing files to disc.  The disc may be full or there may be a problem with the source media."    I am running Windows 7 Pro.   The files are located on my c:.   The drive has 274 GB Free so space isn't an issue.   I have tried deleting a file and readding it to the same catalog and still the same problem.   I have copied the file to the desktop and cataloged it from there and the error went away.  
    If i check on the folder attibutes it is set to read-only but the desktop folder is as well.   If i try to remove the read only it only resets itelf to read only again.   Once i get the error another file shows up with the image name plus -edTM P-1 and it has the caption on it.  

    I was able to get it to work.  The root folder which held the pictures had a lock on it through windows 7.   Even though the drive was shared, I still had to go into the folder properties and share it with everyone.   Once i got the lock off and rebooted I was able to add captions again.

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • Get the following error when trying to add a new user - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm

    Get the following error when trying to add a new user on Mac OS Server 10.5 - Error of type eDSSchemaError (-14142) on line 1235 of /SourceCache/WorkgroupManager/WorkgroupManager-421/PMMUGMainView.mm

    How come Leopard let me use the WGM in standard mode?
    While SA complains that it won't work in Standard Configuration, WGM does not. There is some fault in the logic of this for which I don't have an explanation.
    If I want to get control on Dock, selection of Home folder, config of Proxy... which I think are basic things, do I really need the advanced mode?
    If you wish to have complete control of all client settings, yes. There really is no disadvantage of using an Advanced configuration other than the learning curve.
    So if I switch to advanced mode, there is good chance I won't get this error message anymore, right?
    Yes.

  • The field name is not known error

    Hi,
    I have a report that is pointing to database(db1).
    Can i change the database name to database(db2) in my c# application?when i am changing to new database name in my application i am getting error as "field name is not known".
    Please give some suggestions.
    Thanks in advance

    I'm having the same problem.
    I've upgraded from Crystal 8.5 to Crystal XI.
    I've converted all my reports from Crystal 8.5 to Crystal XI.
    When I try to run the report I get the error:
    The Field Name is not known and nothing else.
    I did upgrade the report and verified the database.
    Does anyone have any ideas ?
    If I delete the formula, and after I create it (by handle) the report will good.
    But I have about 1000 reports !

  • This field name is not known error

    We are repeatedly getting the following error for some of our users .We are unable to trace it.Your inputs would be highly appreciable. We are using dot net 2.0 & visual studio 2005 for development & Crystal Reports 10.2.
    error message appearing  -u201CThis field name is not known. Error in File C:\WINDOWS\TEMP\DNIReport {61006661-3C45-4100-88AD-09C3D7839CF5}.rpt: Error in formula . 'if({DNIBE.ParentStoreId}= "" or {DNIBE.ChildStoreId} = "") then ' This field name is not known.u201D
    Thanks in advance

    Hello, Janmejaya;
    This error occurs when the application is not correctly logged on to the database.
    Because we are a two pass reporting system and the first pass looks at the formulas, you get a formula error when data is missing instead of the expected Database logon error.
    Confirm that your data is visible to your reports at runtime.
    Elaine

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • Error When Trying To Add Web Clipping

    Receiving the following error in the Apache error log when trying to add a webClipping portlet:
    [Sun Feb  1 08:17:25 2004] [info] [client 141.146.192.68] MOD_OC4J_0007: Oc4j process unique id:
    C_130.35.162.13.11a3ac.f52e368ff8.-8000#titsto_iasmt.auohsitst03.oracleoutsourcing.com#391727#OC4J_Portal#OC4J_Portal#default_island parsed from cookie of session request: /portalTools/webClipping/htdocs/wcstudio/jsp/toolbar.jsp does not match to oc4j instance with destination name: OC4J_Portal. Ignore this cookie.
    The error "WCS-102" shows up on the web - page while trying to add a webClipping portet.
    We have installed JPDK 9.0.2.6.2 over 9.0.2.6.1 and redeployed jpdk and portalTools. Note that the middle tier is a two node RAC.

    Sorry to resurrect this old topic - but was a solution found for this? I'm having the same problem.

  • Getting error when trying to add authorzation in ERM (AC 5.3_SP,)

    Hi Experts,
    I have created a role in ERM and successfully saved it, when trying to add authorization by selecting the functional area->selected the functional are(procurement dept.) -> next i clicked on the authorization data-> aded one row ->when searching for the function id from the description field, it's searching for some time and after that, getting the follwing error .
    "Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://xiserver.ep.in:50000/VirsaCCFunction5_0Service/Config1?wsdl&style=document"
    Please do help.
    Best Reagrds,
    Gurugobinda
    Edited by: gurugobinda harichandan parida on Sep 10, 2009 6:29 PM

    Hi Alpesh and Zaher,
    Thanks a lot for all your help and support.
    After applying the note 1279722 my error got resolved, but after that when I am going to the next step to maintain PFCG it is giving me the error as: "Unhandled error; Function template PRGN_CHECK_ROLE_EXISTScould not be retrieved from CPD".
    Please do suggest.
    Regards,
    Gurugobinda

  • Error when trying to add a project to Subversion source control

    When trying to add a project to source control from within the OPM 10 studio (File - Source Control - Add Project to Source Control), the following error occurs:
    "There was a problem accessing the source control system, probably due to network or contention issues. A retry is recommended."
    This has been tried with Subversion versions 1.6.2, 1.6.5 and 1.6.6, with local repositories and repositories on a Apache webserver.
    Once the project has been added to a repository, by using TortoiseSVN for example, working with source control is no problem.
    Does anyone have a clue what the problem (and a solution) might be?
    Thanks,
    Theo.

    Hi,
    Davin mentioned:
    This appears to be an issue with the source control integration. We are looking into it.I am using OPM 10.0.1.14
    The OPM help on collaborating mentions:
    Open a rulebase project from source control
    To open an existing Oracle Policy Modeling project from a source control repository:
    In Oracle Policy Modeling, select File | Source Control | Open Existing Project from Source Control. When I open the File menu I do not see the "Source Control" at all.
    Is this caused by an installation error or part of the "issue with the source control integration" ?
    Please let me know if I'm the only one experiencing this problem ....
    Thankx,
    Paul

  • FRM-40735 Error when trying to add an employee as key member for a project

    FRM-40735: ON Insert trigger raised unhandled exception ORA-06502 in PAXPREPR when trying to add an employee as key member for a project
    Tried generating FND log messages to see if it shows any error messages but it didn't show any specific error.

    Error ORA-06502 says PL/SQL: numeric or value error.
    The Error could be in the data already exist in the system for key members. If this Project was created using APIs, there are possibilities that some other character( i.e. next line chracter ) got entered in the column value which Form "PAXPREPR" is not able to fetch or update.
    You can query the key member data from back-end to check if any data corruption is there. you may require data-fix to correct that.
    AB

Maybe you are looking for

  • Multiple programs not responding

    Hi ,    I'm having a problem with my imac when i log in everything freezes up i have managed to get the activity monitor working before mail and safari get stuck with the dreaded spinning ball ( they both open at log in ) .The monitor eventually come

  • EPM 11.1.2 - epmsystem Configuration Manager service fails to start

    OracleEpmSystemc_oracle_middleware_user_projects_epmsystem1ConfigurationManager fails to start. I do not know how I am getting affected because everything else works fine. I have Essbase , Studio, Planning, EAS installed and all of them work fine. Do

  • Remote Desktop Crashes When trying to log-in after changing password on the remote computer

    Hi. I use cisco VPN to connect to my work computer. I can use RDC to connect to any computer on home network without issue.  Yesterday I changed to password on my work computer and now every time I try to log from my home computer RDC crashes. I've d

  • Exception: Render.cpp line 3104

    Exception occured on reboot of the system. Not reproducable.

  • Regarding LO setup

    Hi all, I have a doubt and need clarification from you experts. I have done LO setup in Production a couple of days back. I started doing Full load. Till today i didn't do Init. Can I do Init and do deltas once Full is over or should I do Init immedi