Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Operation not allowed on a unidirectional dataset?

980 views
Skip to first unread message

"david_tittle"_netshadoathotmail.com

unread,
Aug 13, 2003, 10:26:25 PM8/13/03
to

I'm trying to connect to a MySQL database remotely. the connection seems to succeed, but when I try to connect a DBGrid to a dataset that connects to the table through either a TSQLTable or TSQLTable, I get the message 'Operation not allowed on a unidirectional dataset.'. anyone know why or what I can do about it?

Ignacio Vazquez

unread,
Aug 13, 2003, 10:28:07 PM8/13/03
to
<David Tittle netshadoAThotmail.com> wrote in message
news:3f3af351$1...@newsgroups.borland.com...

> anyone know why or what I can do about it?

Use a TDataSetProvider and TClientDataSet inbetween the TDBGrid and the
TSQLDataSet.

Cheers,
Ignacio


Bill Todd

unread,
Aug 14, 2003, 12:04:06 AM8/14/03
to
dbExpress requires
TSqlConnection->TSqlDataSet->TDataSetProvider->TClientDataSet->TDataSource->your
data aware controls. You need to read the sections in the Developer's
Guide on dbExpress and/or any of the papers on BDN that describe how
to use dbExpress.


--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Harun

unread,
Aug 14, 2003, 9:36:59 AM8/14/03
to
use TClientDataSet that is not unidirectional .

<David Tittle netshadoAThotmail.com> wrote in message
news:3f3af351$1...@newsgroups.borland.com...
>
0 new messages