Advertisement

07.15.2008 at 01:59PM PDT, ID: 23567644
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Access Violation vs. Invalid filter expression

Asked by mikesExpertExchange in Delphi Programming, Delphi Components, Delphi Database

Tags: ,

i'm using D7 and connecting to an oracle database via an ADO connection component. using TClientDataSet and TDataSetProvider components. i first qry for data using an ADO query component that i create on the fly (in code). once the query finishes i use the following lines of code to populate / prepare the TClientDataSet and TDataSetProvider components to open:

    OnTheFlyQuery.Open;
    ClientDataSet1.FieldDefs.Clear;
    DataSetProvider1.DataSet := OnTheFlyQuery;
    ClientDataSet1.ProviderName := 'DataSetProviderMDN1';
    DataSetProvider1.GetRecords(-1, RecCount, ResetOption);
    ClientDataSet1.Open;

I use the TClientDataSet and TDataSetProvider components because the results returned from the OnTheFlyQuery will more than likely be more than one record and I may need to loop throught these records later on whill other queries are running so i wanted to keep the records local.

My problem is that the OnTheFlyQuery can sometimes take 10 - 15 mins and right now fixing that problem is out of my hands. When it does take that long I get an Access violation on the ClientDataSet1.Open line, if it does finish in a reasonable time then i'm still getting a: "EDatabaseError with message "Invalid filter expression character: ¬" error message. If I change the CommandTimeout of the OnTheFlyQuery or the TADOConnection components to be 6300 secs (15 min) then I still get the EDatabasError but no access violation error. Any ideas / suggestions?Start Free Trial
 
 
[+][-]07.15.2008 at 02:01PM PDT, ID: 22011104

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2008 at 08:13PM PDT, ID: 22013042

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 09:03AM PDT, ID: 22017287

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 09:24AM PDT, ID: 22017478

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Delphi Programming, Delphi Components, Delphi Database
Tags: Delphi, Delphi
Sign Up Now!
Solution Provided By: Delphian
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.16.2008 at 09:48AM PDT, ID: 22017731

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 09:51AM PDT, ID: 22017773

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 10:05AM PDT, ID: 22017924

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 01:50PM PDT, ID: 22020007

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 02:09PM PDT, ID: 22020184

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 02:34PM PDT, ID: 22020420

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 08:55AM PDT, ID: 22026885

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.13.2008 at 05:15AM PDT, ID: 22466806

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.17.2008 at 08:40PM PDT, ID: 22507096

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628