Results 1 to 2 of 2

Thread: Datareport Grouping Problem

Threaded View

  1. #2
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,511

    Re: Datareport Grouping Problem

    Do you have to close the connection? Why not close the rsCommand1_Grouping
    Code:
        if rsCommand1_Grouping.State = adStateOpen then rsCommand1_Grouping.Close
        DataEnvironment1.rsCommand1_Grouping.Open "SHAPE {select * from      stock }  AS Command1 COMPUTE Command1 BY 'stockgroup'"
        DataEnvironment1.rsCommand1_Grouping.Requery
        DataReport1.Show
    You can set the connectionstring in the dataenviroment_initialize event
    Last edited by wes4dbt; Dec 14th, 2007 at 03:15 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width