|
Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
I have problems with using a Toracledataset a TDBgrid and Blob-Fields in the SQL-statement.
Refreshing the dataset or scrolling the DBgrid causes an accessviolation.
I'm using Delphi 2010 and Oracle 11.
Under Delphi 2006 and DOA 4.1.1.0 it all works fine.
What do i wrong.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
Do you have a little demo project to reproduce this?
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
i sent the demo-project to support@allroundautomations.com
thank you.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
the scrolling error occurs if you set queryallrecords to false
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
Have you tested the Demo-Project ?
the refresh error ?
it's very important for me.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
We have received your project and will look into this shortly.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
Have you tested our Demo-Project. We are still waiting.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Nov 2009
Posts: 4
Member
|
Member
Joined: Nov 2009
Posts: 4 |
I have the same problem is very important to resolve to continue the projects.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
We will have a solution soon.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Nov 2009
Posts: 4
Member
|
Member
Joined: Nov 2009
Posts: 4 |
any news on this problem? is very important to resolve to continue the projects.
Please !!!!
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
We hope to have a fix later this week.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
You can download a fix here. Let me know if this fixes it for you as well.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
the refresh works fine.
But now. If I open a dataset and call edit,i get the message "Record has been changed by another user".
In the Demo-Project i sent to you , add a rowid in the sql of "Set1" and try editing in the grid. It is not possible.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
I tested this, and it seems to work fine. Can you double-check this with the demo project and the table data you sent us?
Last edited by Marco Kalter; 11/23/09 10:56 AM.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
i tested it again. the error occurs if a blob field is not empty.
when i edit a line which contains an emtpy blob field all works fine. But if there is data in the blob column, i always get an "changed by another user ... "-error.
i've tested it in a 2.project too. With only a grid,a dbnavigator ,an oraclesession and an oracledataset. I've created a table with 3 columns 2 varchar2 fields an a blob field. It has the same behavior. If the blob field is filled i can't edit any field in the line.
furthermore i've seen ,that you can write data in the blob column (if empty) by writing in a blob-dbgrid-cell. you can see before "(HugeBlob)" and after "(HUGEBLOB)". Is this an error or a feature. Because the user can't read his changing.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
[quote]i tested it again. the error occurs if a blob field is not empty.[/quote] I can't reproduce this, but we'll investigate further.
[quote]furthermore i've seen ,that you can write data in the blob column (if empty) by writing in a blob-dbgrid-cell. you can see before "(HugeBlob)" and after "(HUGEBLOB)". Is this an error or a feature.[/quote] This is a Delphi TDBGrid feature. Null fields are displayed as <Fieldname> and non-null fields are displayed as <FIELDNAME>.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
I tested again on 2 Databases in several schemes,it's allways the same. if the blob column owns data i cant edit any field in the row of the TDBgrid. The rows with empty blobs make no problems.
I try testing on a clean system.
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Nov 2009
Posts: 4
Member
|
Member
Joined: Nov 2009
Posts: 4 |
I have the same problem,Record has been changed by another user my projects are unfinished, and am having problems, time is money.... Please !!!!
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
I've sent a new Demo-Project to "support@allroundautomations.com".
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
You can download a new fix here. Let me know your findings.
Marco Kalter Allround Automations
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Nov 2009
Posts: 4
Member
|
Member
Joined: Nov 2009
Posts: 4 |
everything works perfectly fine, thank you for addressing the problems
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Oct 2009
Posts: 10
Member
|
OP
Member
Joined: Oct 2009
Posts: 10 |
looks good. no error found.
thank you
|
|
|
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
|
Joined: Aug 1999
Posts: 22,208
Member
|
Member
Joined: Aug 1999
Posts: 22,208 |
Okay, we'll publish this patch.
Marco Kalter Allround Automations
|
|
|
|
|
|