Hi Omarmtz,
>but this works only for one report with page by no??
Yeah, that is right. This solution will only work out for one report with page by.
>What about the others documents in my project that i don't want to redirect to that report??
Create a condition in asp based on document ID. Something like:
If request.querystring("DocumentID"

= '1F753C604B5E6F61A2EF678AEC5D0299' then...
>if i want two reports??
Well... Then let's talk about another solution...
This will be a little bit more complex then the first I've suggested.
The general ideia is the following.
Solution 2:
1. Get the report xml result (I am not totally sure but I think it is in the ReportCuLib.asp)
2. Save it as .xml file.
3. Redirect the report.asp to the secound report.
4. Create a new page which will retrive the xml and use DataIsland method to break the data in pages.
5. Redirect the secound report to the new page you have just created.
As you can see, actually, you wont be using the document.asp page. Instead, you will create your own documentCustomized page which will retrive the both xml files and format the data as you wish.
Solution 3:
Another option is to use DOM. However, as far you will be using javascript and will have to load all result data to the client, probably you have performance problem.
But, if the report result is not too big, this solution would be better the the secound explained above for sure!!!
Regards,
Humberto Seiji Fukuda
kogu@yahoo.com