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]

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited 12:03AM
    I'm sorry for the vague answer, but just in case nobody has a better one...
    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.
  • edited 12:03AM
    In ADO Components everything works fine. When I use DBX components in FastReports and I use group band then it doesnt work correctly (error occured).
  • Anu de DeusAnu de Deus Hampshire, UK
    edited 12:03AM
    Then it's definetly the way the connection is being opened.
    I don't use DBX, but isn't there settings available for the connection?

    In ADO Components everything works fine. When I use DBX components in FastReports and I use group band then it doesnt work correctly (error occured).
  • edited 12:03AM
    I add frxEngine in USES section and now everything works fine

Leave a Comment