Print Thread
Page 1 of 3 1 2 3
Problems with TOracledataset and Dbgrid and Blob-Fields
#36086 10/15/09 10:34 AM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36088 10/15/09 11:28 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
M_K;uhn #36094 10/15/09 12:53 PM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36095 10/15/09 01:05 PM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
Joined: Oct 2009
Posts: 10
the scrolling error occurs if you set queryallrecords to false

Re: Problems with TOracledataset and Dbgrid and Blob-Fields
M_K;uhn #36196 10/22/09 09:46 AM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36198 10/22/09 10:13 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
M_K;uhn #36376 11/04/09 10:46 AM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
Joined: Oct 2009
Posts: 10
Have you tested our Demo-Project.
We are still waiting.

Re: Problems with TOracledataset and Dbgrid and Blob-Fields
M_K;uhn #36397 11/05/09 06:06 AM
Joined: Nov 2009
Posts: 4
I
Member
Offline
Member
I
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
Ing Rodolfo #36402 11/05/09 10:40 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
Marco Kalter #36512 11/14/09 09:46 PM
Joined: Nov 2009
Posts: 4
I
Member
Offline
Member
I
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
Ing Rodolfo #36516 11/16/09 10:43 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
Marco Kalter #36545 11/20/09 01:43 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
Marco Kalter #36548 11/20/09 03:06 PM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36554 11/23/09 10:43 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
Marco Kalter #36558 11/23/09 02:06 PM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36568 11/24/09 11:03 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
Marco Kalter #36573 11/24/09 11:34 AM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36585 11/25/09 03:38 AM
Joined: Nov 2009
Posts: 4
I
Member
Offline
Member
I
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
Ing Rodolfo #36587 11/25/09 08:25 AM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
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
M_K;uhn #36590 11/25/09 10:28 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
We'll check it out.


Marco Kalter
Allround Automations
Re: Problems with TOracledataset and Dbgrid and Blob-Fields
Marco Kalter #36649 12/01/09 12:37 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
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
M_K;uhn #36653 12/01/09 04:59 PM
Joined: Nov 2009
Posts: 4
I
Member
Offline
Member
I
Joined: Nov 2009
Posts: 4
smile everything works perfectly fine, thank you for addressing the problems

Re: Problems with TOracledataset and Dbgrid and Blob-Fields
Ing Rodolfo #36667 12/02/09 04:01 PM
Joined: Oct 2009
Posts: 10
M
M_K;uhn Offline OP
Member
OP Offline
Member
M
Joined: Oct 2009
Posts: 10
looks good. no error found.

thank you

Re: Problems with TOracledataset and Dbgrid and Blob-Fields
M_K;uhn #36671 12/03/09 10:09 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Okay, we'll publish this patch.


Marco Kalter
Allround Automations
Page 1 of 3 1 2 3

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.051s Queries: 14 (0.018s) Memory: 2.6225 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-05 21:25:29 UTC
Valid HTML 5 and Valid CSS