Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Posts
    1

    Unhappy Unanswered: Executing a Rave Report based on a Query and getting unidirectional dataset error

    I have created a Rave Report using a TSQLQuery connected through an SQL Connection. The query works fine and the report loads fine for either preview or printing using the code: RvProject.ExecuteReport('thereport');. However when I then close the preview or it finishes sending to the printer I get an error, 'qryUnderstocked: Operation not allowed on a unidirectional dataset'. I don't understand this as it has successfully carried out the intented query and should be finished with it by this stage. Any help would be appreciated.

    Thanks

  2. #2
    Join Date
    Mar 2005
    Posts
    1
    Try with this:
    SQLQuery1.ExecSQL(false)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •