Database DLL error on editing the record selection formula?

Post Author: Aravind
CA Forum: Older Products
Hi All,I recently edited the record selection formula of an old report and since then the report is issuing me an "Error detected by database DLL" error.The report was running fine earlier and still continues to run fine if I undo the changes. Earlier, the records were selected based on a 'date' field and I edited the formula to select records based on another date field, but the report doesn't work.The report runs fine on my local PC using Crystal Reports, but web based reporting fails with the error message. The data is selected from a view and the date parameters I talked about are the fields in the same view.This view has around five date parameters and the report runs fine for all of them, except one date field.Any pointers are appreciated.Crystal reports version is 8.5. Regards,Aravind.

Post Author: DPowell
CA Forum: Older Products
Ah, yes, the good old generic date error.
The problem is likely an invalid date value in one (or all) of your records with that field.  You don't say what database engine you are connected to or which driver you are using for the report, but I'll give you some "pointers".
Basically, the SQL fetch has encountered an error in your date field and the driver you are using in the report can't handle it.
A null date could cause that problem.  Also a date-time field with an invalid value or truncated time value.  A robust ODBC driver, like one of the Microsoft drivers might be able to overcome it.  Likewise, vendors frequently release updated drivers to improve error handling just like this.
1.  Analyze your data, specifically the contents of the "new" date field you are using for some kind of invalid date.
2.  Experiment with different ODBC drivers by creating alternate ODBC connections to the same database using different ODBC drivers.
3.  Browse and experiment with options in Crystal Reports Properties that allow you to specify data conversions for NULLs and Dates.
Good luck !

Similar Messages

  • Record Selection Formula and Parameters

    We've currently upgraded from Crystal Reports 9 to Crystal Reports 2008 (SP3).  In our legacy reports, we use the "record selection formula editor" to filter the results of our report.  This is an example of one of our formulas:
    {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} >= {?FROMDATE} and {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} <= {?TODATE}
    In this formula, we pass in the FROMDATE and TODATE from our .NET applicaiton to filter on dates.  After upgrading to Crystal Reports 2008 (SP3) this no longer works.  I get an error "Error in formula Record_Selection".  It looks as if it was having issues parsing the formula.  If I replace my parameters (?FROMDATE/?TODATE) with hard coded dates it works fine (It also worked fine in Crystal Reports 9) so from what I can tell adding the parameters causes parsing errors. Also in the error it shows the formula and it's defintily messed up:
    ((( NOT {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} >= {?FROMDATE}) AND ( NOT {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} <= {?TODATE})))
    I'm not sure why it is adding the NOT to the formula or the extra brackets...
    Any suggestions?
    Regards,
    Mike

    David,
    First off, the way I determined it was the beta dlls was that I installed CR 2008 SP3 runtimes fresh and ran my report.  I didn't experience any issues.  I then took the beta dlls and replaced the originals, rebooted and ran my report again.  The report failed to execute as I described above.  I then took my backup of the SP3 dlls and replaced the beta dlls, rebooted and tested again.  I worked fine with the original dlls. 
    The formula that I was passing into that report was a bit more complex than I first described.  I had a few other conditions in the formula that checked for a project ID.  I tested it with just the dates and there wasn't any issues (as in your example), as soon as I added additional parameters that's when the "NOT"'s were included.  Could you try your test again with a few additional parameters?  Here is an example of what I was passing into the report:
    ((({DOVREP_TIME_AND_EXPENSE.ITEM_DATE} >= {?FROMDATE}  )   AND   ( {DOVREP_TIME_AND_EXPENSE.ITEM_DATE} <= {?TODATE})))  AND (({%PROJECT_ID}=99 OR {%PROJECT_ID}=113 OR {%PROJECT_ID}=112 OR {%PROJECT_ID}=103 OR {%PROJECT_ID}=107 OR {%PROJECT_ID}=111)))
    Mike

  • How to edit the records in error stock.

    Hi Experts,
                 i have error records in error stack and the remaining records are loaded successfuly . here my doubt is how to edit the records in error stack because its not giving the edit option .
    i want to get the edit option means i need to delete the request in target r wt ?
    and there are two more targets is there below this process .
    Advance Thanks.
    Regards
    SAP

    HI
    If you have less number records in this request(which you extracted now), delete that request from all the targets and reload again with option Valid records update, reporting not possible.
    this is the option which is recommended.
    follow the below 2 docs as well.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80dd67b9-caa0-2e10-bc95-c644cd119f46?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/007f1167-3e64-2e10-a798-e1ea456ef21b?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Jan 24, 2012 4:35 PM

  • How to edit the records value fetched by select statement query in sqldever

    How to edit the records value fetched by select statement query in sqldever 2.1.1.
    EX-
    SELECT * FROM emp WHERE ename like 'Jaga%'
    Edited by: user9372056 on Aug 31, 2010 2:16 AM

    Hi,
    Although some forum members may be using that tool, there is still a dedicated forum for SQL Developer.
    SQL Developer
    Maybe your chances are better there.
    Regards
    Peter

  • Error occurred in the data selection,If i do Repeat, then it is working fin

    Hi Freinds,
    Here is the error message,
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Details Tab:
    Extraction (messages): Errors occurred
    Error occurred in the data selection ....
    If i do Repeat Delta, then it is working fine.
    As it is a daily load, manually repeating the load from the past 10 days.
    Have tried using program RS_TRANSTRU_ACTIVATE_ALL.
    Any inputs pls.....

    Hi Friends,
    Thanks for your valuable inputs, Problem is solved.
    The Reason is that, there is a time difference in the r/3 system and bi system.
    The tolerable time differene shud be only 60 seconds.
    Basis guys  took down time at the OS level and hav made the timers sync.....
    The problem is on the source system GNP time differences
    persists, which can cause the problem with delta upload .
    Universal Time Coordinated UTC....: 1291187626
    Date and time of database.........: 01.12.2010 12:46:59
    Date and Time of R/3-Kernel.......: 01.12.2010 12:43:46
    Date and Time of ABAP-Processor...: 01.12.2010 12:46:58
    ABAP Time zone Setup ..............: 19800
    Date and Time / local time ........: 01.12.2010 12:43:46
    This leads to an exception of the delta processing, because this
    tolerates a deviation of 60 seconds only (When the repeat is processed,
    the "local time" in the ABAP is higher than the qrfc counter at the time when the delta was processed -> So a repeat works fine).
    Please synchronize the timers like described in attached note 101726 and 741734 to eliminate the time difference .
    With Regards
    Badri Thiriveedhi.

  • Error occured in the data selection while extract data from Source system

    Hello Friends
    i am facing Problem while extracting data to Biw System from SAP R/3 system
    The error mesage is 'Error occured in the data selection '
    i.e. Monitoring - Details tab - Extraction - With error

    Hi
    The delta wil take the Last init selection for loading data in to the BW...
    Did u check the IP at the Update tab is it the correct delta only.. or its a full..
    better to go to the RSA3 and check the extractor in the Delta mode .. if u give ur delta mode it automatically takes the selction options.. so please try in RSA3..
    regards
    CK
    PS: CHECK THE INIT SELECTIONS TOO  or do an init with outdatatransfer and perform the delta...
    Message was edited by:
            BW Star

  • Not able to edit the records in the table

    Hi Experts,
    I am not able to edit the records or delete the records from a database table.
    Those fields are not enabled.
    Edit icon is not at all there.
    Wat can i do.
    Cheers,
    Karthick

    Hi,
            In SM30, u can edit or delete records from a table.Before goin to this u need to create table maintainance generator for this table.
    regards
    lakshmi

  • "Error occurred in the data selection" on init delta load ODS- InfoCube

    Hi, gurus and experts!
    I'm trying to do Init delta load from 0FIAR_O03 ODS into 0FIAR_C03 InfoCube in PRD env. by InfoPackage "Initialize with delta transfer (with data transfer)". Immediately after the load was started I got error
    "Error occurred in the data selection"
    with details
    "Job terminated in source system --> Request set to red".
    Where are no any short dumps. There are 1 activated init load in ODS - nearly 6 500 000 records.
    Any ideas about error? And the way I can load data?

    Hi Gediminas Berzanskis,
    I faced the similar error when I tried to load data from an ODS which contained huge amount of data to a Cube. Even in your case the volume of data is more (around 6.5 million records). The error could be due to the table space issue, please contact your Basis team to check if enough table space exist for both the data targets. 
    Meanwhile you may also check the RFC connection of the Myself source system.
    You can replicate the DSO datasource once and then reactivate the transfer rules using the program RS_TRANSTRU_ACTIVATE_ALL.
    Try load with a small amount of data with a Full load option and then with a delta option..
    Hope this Helps,
    Prajeevan (XLNC)

  • Error in editing the passwords and HTTPS Protocol

    Hello!
    After I success install the uPerform Server, then I have shut down the server.
    The next day, I started to configure the server and find out that there has an error in editing the uPerformSystem and Solution Manager passwords. It pops up an error(401) and said" Error processing form. The remote server return an error: (401) Unauthorized".
    Also, I cannot configure the HTTPS Protocol. There has an error when I run  AuthenicationWizard and the error log was below:
    <Log>
    - <Entry Type="Trace" Id="b5969d99-c785-4e27-8b83-4e3280bcc65a">
      <Date>7/14/2011 7:13:04 PM</Date>
      <TraceType>Always</TraceType>
      <ThreadID>5</ThreadID>
      <RoutineNamespace>AuthenticationWizard.Process.stopServices()</RoutineNamespace>
    - <Message>
    - <![CDATA[ Stopping Services
      ]]>
      </Message>
      </Entry>
    - <Entry Type="Trace" Id="ce10e70d-9ecf-4921-a545-6b5db49d619e">
      <Date>7/14/2011 7:13:34 PM</Date>
      <TraceType>Always</TraceType>
      <ThreadID>5</ThreadID>
      <RoutineNamespace>AuthenticationWizard.Process.stopServices()</RoutineNamespace>
    - <Message>
    - <![CDATA[ End Stopping Services
      ]]>
      </Message>
      </Entry>
    - <Entry Type="Error" Id="a4765b76-002b-44f6-8235-76fade618e50">
      <Date>7/14/2011 7:13:55 PM</Date>
      <ThreadID>9</ThreadID>
      <ErrorCode>24-01-014</ErrorCode>
      <RoutineNamespace>RWD.uPerform.CMS.Vignette.VerifyLicense</RoutineNamespace>
      <FriendlyMessage>An error occurred while verifying license.</FriendlyMessage>
      <Message>Length cannot be less than zero. Parameter name: length</Message>
      <StackTrace>at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at System.String.Substring(Int32 startIndex, Int32 length) at RWD.uPerform.CMS.Vignette.VerifyLicense() at RWD.uPerform.WindowsService.QueueMonitor.VerifyLicense()</StackTrace>
      <Parameters />
      </Entry>
    - <Entry Type="Trace" Id="bbce281a-d3bb-4e49-9482-2dc8a03b52d7">
      <Date>7/14/2011 7:30:42 PM</Date>
      <TraceType>Always</TraceType>
      <ThreadID>6</ThreadID>
      <RoutineNamespace>AuthenticationWizard.Process.stopServices()</RoutineNamespace>
    - <Message>
    - <![CDATA[ Stopping Services
      ]]>
      </Message>
    Can anyone help me to solve the problems?
    Best Reagrds,
    Vivian

    Hi Vivian,
    With reference to this issue, can you please try the following steps on
    the application server in order to try and resolve this:
    1. Please open a command prompt and navigate to
    C:\Windows\Microsoft.NET\Framework\v2.0.50727\
    2. Run the following command: aspnet_regiis -iru
    3. Run the following command: aspnet_regiis -ga aspnet
    4. Open IIS.
    5. Expand Websites.
    6. Right-click on the uPerform Collaboration website and select
    properties.
    7. Click on the ASP.NET tab.
    8. Ensure the 2.0.50727 is selected in the ASP.NET version drop-down
    list.
    9. Select the Web Service Extensions folder.
    10. Ensure the ASP.NET v.2.0.50727 is set to Allowed.
    11. Restart IIS.
    12. Attempt to run the configuration page once more.
    13. Result?
    Also, have you tried restarting the server?
    Hope this helps,
    Kind Regards,
    Matthew

  • Siebel -00284 Error while editing the Custom object Data

    I have created one custom object and when i tried to edit the data which i have entered , i am not able to edit the data on Custom object. Could you please suggest me on this. Please find the below error.
    You do not have permission to edit the record. Click cancel or Back link to continue.(SBL-DAT-00284)
    Edited by: Subbu on Jun 29, 2010 1:57 AM

    Hi Shyam,
    Try with this code.
    *-----Adding the Condition Types at item level
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KSCHL(01)'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=V69A_KONY'.
                  PERFORM bdc_dynpro      USING 'SAPMSSY0'    '0120'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  '05/04'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=PICK'.
    *----1. Unitprc ( ZPR0 )
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KSCHL(01)'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=V69A_KOAN'.
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KBETR(02)'.
                  WRITE x_item-unitprc TO v_unitprc CURRENCY komv-waers NO-SIGN.
                  PERFORM bdc_field       USING 'KOMV-KSCHL(02)'  'ZPR0'.
                  PERFORM bdc_field       USING 'KOMV-KBETR(02)'  v_unitprc.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '/00'.
    *-----End of Addition
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '/EBACK'.
    Regards,
    Aman
    Message was edited by:
            Amandeep Kumar

  • The Record select is excluding rows

    The following record select formula, is not showing rows which we want to see. The user passes a month and year param and then we show the not sold
    for that month year as well as the previous month.
    However, we do want to show rows that did not sell for the entire year and even years back. This formula is only showing the rows that had some sales in the past 2years. It's better use for management to see all items not selling also years back to the last sale.
    if {?Month}=1 then
        (({SUMPRT.IQA01} =0  and {SUMPRT.IQYER#} = {?Year}) and ({SUMPRT.IQA12} =0  and {SUMPRT.IQYER#} = {?Year}-1))
    else if {?Month}=2 then
        ({SUMPRT.IQA01} =0 and {SUMPRT.IQA02} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=3 then
        ({SUMPRT.IQA02} =0 and {SUMPRT.IQA03} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=4 then
        ({SUMPRT.IQA03} =0 and {SUMPRT.IQA04} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=5 then
        ({SUMPRT.IQA04} =0 and {SUMPRT.IQA05} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=6 then
        ({SUMPRT.IQA05} =0 and {SUMPRT.IQA06} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=7 then
        ({SUMPRT.IQA06} =0 and {SUMPRT.IQA07} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=8 then
        ({SUMPRT.IQA07} =0 and {SUMPRT.IQA08} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=9 then
        ({SUMPRT.IQA08} =0 and {SUMPRT.IQA09} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=10 then
        ({SUMPRT.IQA09} =0 and {SUMPRT.IQA10} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=11 then
        ({SUMPRT.IQA10} =0 and {SUMPRT.IQA11} =0 ) and {SUMPRT.IQYER#} = {?Year}
    else if {?Month}=12 then
        ({SUMPRT.IQA11} =0 and {SUMPRT.IQA12} =0 ) and {SUMPRT.IQYER#} = {?Year}

    hi Paul,
    if you've got a situation where your query is not bringing back all combinations of the records that you want, and no combination of table joins (e.g. left outer or right outer) and record filter syntax gives you the results you need, then you may want to start thinking about creating a command object or stored procedure that produces / brings back those records.
    so, if your database does not include a value for product A sold in january 2014, then you may need to manufacture that record.
    this particular blog post will show you 3 different methods of bringing back product & month combinations.
    i hope this helps,
    jamie

  • Process chains-Error occurred in the data selection-DBIF_RSQL_TABLE_UNKNOWN

    Hi All,
    The problem occurred in PC which was running smooth until now 
    Now I am getting message:
    in BI : Error occurred in the data selection
    When I went in R/3 it shows DBIF_RSQL_TABLE_UNKNOWN
    Probably the only way to eliminate the error is to correct the program.
    Please check the entries in the system log (Transaction SM21).
    Internal call code.........: "[RSQL/READ/PA0009 ]"
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    DBIF_RSQL_TABLE_UNKN
    SAPLXRSA" or "ZXRSAU
    EXIT_SAPLRSAP_002"
    Can anyone explain..

    Hi ,
    Check note 950317.
    also check the blow forum having same kind of discussion :
    Runtime Errors DBIF_RSQL_TABLE_UNKNOWN
    Short dump error DBIF_RSQL_TABLE_UNKNOWN
    DBIF_RSQL_TABLE_UNKNOWN
    thanks,
    Deepak

  • Error message :"Error occurred in the data selection"

    Hi All ,
    When I am exracting a Delta from source I am getting this error mesage Error occurred in the data selection" can any one let me know how to slove  this,
    Thanks in Advance.
    rao

    Praveen,
    In SM 37
    In JobName i have given - *REQU_4683BBF4HXG4XW4ASQOSP6PJG
    where REQU_4683BBF4HXG4XW4ASQOSP6PJG is Request no
    User Name is -- *
    then I had check all these
    sched, Released, ready, active, Finished, cancelled
    then executed
    then i received the message no jobs are matches the selection criteria
    thanks
    prasanna

  • Variable selection criteria in the record selection

    Variable selection criteria in the record selection with Crystal Report with SQL 2005 Server tables.
    In the record selection I would like to use the value of the field u201CsSQL1u201D as part of the selection criteria instead the field name {tblReportAccessAutority.sSQL1}
    The value of the field {tblReportAccessAutority.sSQL1} is {tblSalesReporting.sJEDivisionCode} = 'I'
    I tried with formulas, SQL expressions, but nothing works.
    Record selection of the report:
    {tblReportAccessAutority.sUserID} = CurrentCEUserName
    and {tblSalesReporting.sLegalEntity} = {?Legal Entity}
    and {tblSalesReporting.sJEPeriod} = {?PARAM_PERIOD}
    and {tblSalesReporting.sIG3rd} =  {?PARAM_IG3RD}
    and {tblReportAccessAutority.sSQL1}                           <---this is the problem line
    The field {tblReportAccessAutority.sSQL1} is not converted in the value:
    {tblSalesReporting.sJEDivisionCode} = 'I'     
    The tables tblSalesReporting and tblReportAccessAutority are joined in this report.
    Many thanks for your help.
    Roger

    How is the syntax for the selection criteria in the record selection?
    {tblReportAccessAutority.sUserID} = 'ch1scro2'
    and {tblSalesReporting.sLegalEntity} = {?Legal Entity}
    and {tblSalesReporting.sJEPeriod} = {?PARAM_PERIOD}
    and {tblSalesReporting.sIG3rd} = {?PARAM_IG3RD}
    and SELECT {@sSQL_Condition} ???????? or
    and  {@sSQL_Condition} ??????? or how?
    The expression fir the formula {@sSQL_Condition} is:
    TOTEXT({tblReportAccessAutority.sSQL1})
    The field definition for {tblReportAccessAutority.sSQL1} is nvarchar(50).
    Thanks Roger

  • Editing the recorded slide

    I am just new to Adobe Captivate - before I used another program.
    Now I am wondering if there is no way to edit the recorded slide.
    1. When I use the timeline I can find no way to mark a part of the slide at cut it away from the timeline.
    2. I am wondering that when I pause the timeline - the red line stops on the right place, but the the video is showing the first image again.
    When I record my slide  there are some popup windows I have to move to the right place for making the slide look good. The time I use to move the popup window I want to cut out.
    In the software I used before it was possible.

    Hi there
    From what you posted it would seem you recorded your movie using Full Motion (FMV) recording mode. Ouch!
    When you record using FMV, it is very similar to the old 8MM movies from years ago. If you filmed a room full of relatives and there was an ugly chair in the room, you would not be able to edit the movie so it mostly remained the same but the chair was gone. This sounds like what you are wanting to do.
    With a FMV all Captivate will allow you to do is to split the recording or append (splice) other recording bits. If you are wondering where this capability is, it's in a different editor that's not all that simple to find. Basically you need to locate the clip in the Library. This is pretty easy to do. Just right-click the clip in the Captivate editor and choose Find in Library. This should highlight the clip. Now in the Library, right-click the clip and choose Edit. This should open the FMR Editor.
    You would be well advised to ignore that FMV exists with Captivate. Seldom will you achieve a desirable result. Captivate works best in the Slide By Slide recording mode. We hope to see FMV "get there" and be on par with TechSmith's Camtasia Studio at some future point. Unfortunately, that point is likely to be a couple or three versions away.
    If I have something requiring FMV, I use Camtasia and output that as a SWF that I insert into Captivate. You can get some really good stuff that way.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • Fed up trying to get this sorted over the phone

    My parents are both pensioners and understand nothing about broadband. They joined BT ADSL broadband in the summer of 2011. I recently moved into the property and noticed the state of their broadband. It is terrible. I took it upon myself to try and

  • Unable to edit process in Processes tab

    Hi We've got some processes set up in our processes tab and in ES were are able to edit this. Since we upgraded and created a new ES2 server these seem to be read-only.  When I try to edit one of the processes in the Process tab I get the message: "Y

  • Envy 6 to Sony TV Sound Problem

    No sound with HDMI connection from Envy 6 laptop to Sony Bravia TV

  • OINV.DocCur -- Expense without Tax was found

    Hi We have a product which uses SAP B1 2004. We are creating A/R Invoice using DI API based on Delivery Note. So far application worked fine. One of my customers reported yesterday that, this invoice creation is failing now with the following message

  • How many methods copies will create when i create multiple objects

    Hi I have big doubt in java. See the following Program class A{ public int i; public static int j; public void methodOne(){ Sytem.out.println("Welcome"); public static void methodTwo(){ System.out.println("Welcome methodOne"); class B{ public static