in

Dynamics User Group

Since 1995 - The Microsoft Dynamics Online User Community

Visible grid records to report

Last post 08-01-2008 10:42 by msz_. 2 replies.
Page 1 of 1 (3 items)
Write a New Post Sort Posts: Previous Next
  • 07-30-2008 8:08

    • msz_
    • Not Ranked
      Male
    • Joined on 08-09-2005
    • Poland
    • Posts 22
    • Points 415

    Visible grid records to report

     Hi

     

    I need to  make my own report from this what is visible in grid. I would like to do something like autoraport but with my own (another in autoraport) columns. I now i can change the autoraport  columns - but it will not  resolve my problem. I want report which will show only this column which is show in grid - i have an idea how to do it.

    But how to catch the actual visible records from grid? 

    To show records i can use the query which is build when I open the form. This work good.  

     

    But how to catch the actual visible records from grid when they was filtered?  << This my question.

     

    Thx from all advice 

     

    • Post Points: 5
  • 08-01-2008 9:50 In reply to

    • msz_
    • Not Ranked
      Male
    • Joined on 08-09-2005
    • Poland
    • Posts 22
    • Points 415

    Re: Visible grid records to report

    In another side - may You know how to catch this string - which user write in find value (shortcut on form) ??

    This could resolve my previous problem... 

    • Post Points: 5
  • 08-01-2008 10:42 In reply to

    • msz_
    • Not Ranked
      Male
    • Joined on 08-09-2005
    • Poland
    • Posts 22
    • Points 415

    Re: Visible grid records to report

    Answer

     OK. the problem was resolved.

     

    Simple I need to catch QueryRun and send it as parmeter to my raport 

    If someone looking for -  the code :

     

    run = ClassFactory.reportRunClass(new Args("Test"));


    run.init();

    run.queryrun(qr).interactive(false);

    run.queryRun(qr);

    run.run();

     

    Test it's my report, qr is QueryRun object = QueryRun from form.

     

    • Post Points: 5
Page 1 of 1 (3 items)


Copyright Dynamics User Group, 1995-2008, all rights reserved. This website and user group are independent and not affiliated with the Microsoft Corporation.