Print Thread
Updatable TOracleDataset ?
#88 10/12/99 08:26 PM
Joined: Sep 1999
Posts: 27
Germany
K
KaeOl Offline OP
Member
OP Offline
Member
K
Joined: Sep 1999
Posts: 27
Germany
Is it possible to create an updatable dataset like in the BDE (with RequestLive).

I tried to set TOracleDataset.ReadOnly to FALSE, but it won't let me .Edit it, saying that it's read only.

------------------
Oliver Kaesmann


Oliver Kaesmann
Re: Updatable TOracleDataset ?
#89 10/13/99 12:00 AM
Joined: Sep 1999
Posts: 27
Germany
K
KaeOl Offline OP
Member
OP Offline
Member
K
Joined: Sep 1999
Posts: 27
Germany
Great!!
The solution is "RTFM" (Read That Fucking Manual)

If you have a look to the TOracleDataSet-Components documentation, delivered with doa, you read the following:

"To be able to update records, a dataset needs to know the 'rowid' of every retrieved record. ... the SQL property would be: select dept.*, dept.rowid from dept"


Oliver Kaesmann

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.028s Queries: 13 (0.007s) Memory: 2.4970 MB (Peak: 3.0418 MB) Data Comp: Off Server Time: 2024-05-13 21:03:13 UTC
Valid HTML 5 and Valid CSS