Print Thread
Problems using Borland's DB-Aware Components
#2889 12/19/01 01:53 PM
Joined: Dec 2001
Posts: 2
D
Member
OP Offline
Member
D
Joined: Dec 2001
Posts: 2
Hello together,

I do have some problems using Borland's DB-Aware component. I am connected to an Oracle Server through a TOracleSession object, and I'm working with a TOracleDataSet which calls "select * from mytable".

So, I putted an TDataSet on the form, linked it to the TOracleDataSet and tried to use the DB-Aware components - That work's fine, but all the components are read-only. I can't modify anything, though I'm sure the connected user has all neccessary privilegues on the database. The ReadOnly property on the TOracleDataSet object is set to false.

Is this the wrong way to use the DB-Aware components for editing data ? I would be glad if you could help me.

Greetings

Dominik

Re: Problems using Borland's DB-Aware Components
#2890 12/19/01 10:28 PM
Joined: May 2001
Posts: 53
Enschede, The Netherlands
F
Member
Offline
Member
F
Joined: May 2001
Posts: 53
Enschede, The Netherlands
This is indeed the wrong way. For your SQL, use
select mytable.rowid, mytable.* from mytable
This makes the dataset updatable.
I gather you have jumped in without looking at the help. Have a look - it's is really good!

------------------
Frans


Frans
Re: Problems using Borland's DB-Aware Components
#2891 12/19/01 10:28 PM
Joined: May 2001
Posts: 53
Enschede, The Netherlands
F
Member
Offline
Member
F
Joined: May 2001
Posts: 53
Enschede, The Netherlands
This is indeed the wrong way. For your SQL, use
select mytable.rowid, mytable.* from mytable
This makes the dataset updatable.
I gather you have jumped in without looking at the help. Have a look - it's is really good!

------------------
Frans


Frans
Re: Problems using Borland's DB-Aware Components
#2892 12/20/01 12:16 PM
Joined: Dec 2001
Posts: 2
D
Member
OP Offline
Member
D
Joined: Dec 2001
Posts: 2
Well, I guess I should have done this before... *sighs*

But at all, it works great, thank you really very much.

Greetings

Dominik


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.094s Queries: 13 (0.017s) Memory: 2.5124 MB (Peak: 3.0428 MB) Data Comp: Off Server Time: 2024-05-20 11:03:21 UTC
Valid HTML 5 and Valid CSS