Project .... raised exception class EDatabaseError with message: 'Operation not allowed on a uni
When I use tfrxDBXQuery in Fast Report designer everything works fine.
When I run report from code, error occured: Operation not allowed on a unidirectional dataset [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Query has groups please help me![/img]
When I run report from code, error occured: Operation not allowed on a unidirectional dataset [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Query has groups please help me![/img]
Comments
I believe this is to do with the DB connection settings.
I know your connection is not an ADO connection, but I had a similar problem ages ago and found answers reading this:
http://msdn.microsoft.com/en-us/library/ms...28VS.85%29.aspx
Your problem is either the CursorLocation or the Mode used to open the connection.
Do a Google search on your error message, it might be the fastest way to the answer.
I don't use DBX, but isn't there settings available for the connection?