Results 1 to 4 of 4

Thread: using one report then change the datasource with code

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2007
    Posts
    520

    Question using one report then change the datasource with code

    heya guys

    i was wonderign is there anyway in which i can design one report and then just change the datasource (.xml files) depending on what the user clickes. its just the report itself is exactly the same and it will be quicker and easier to do that.

    Thank you in advance

    Frosty

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

    Re: using one report then change the datasource with code

    What are you using to design and print the report? Crystal Reports, Data Report, Printer Object?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2007
    Posts
    520

    Re: using one report then change the datasource with code

    crystal reports

  4. #4
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Re: using one report then change the datasource with code

    Sorry I don't use CR. I'm sure you could set the report data source at runtime. I don't know if CR can use a xml file as a data source, if not then load the desired xml into an ADO recordset then use that recordset as the data source.

    Good Luck

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