Results 1 to 2 of 2

Thread: dynamic datareport

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    1

    Question dynamic datareport

    hi guys..

    can someone help me in creating a datareport which responds to my query?

    here's the situation:

    i have a listview which displays the products of a certain company...
    what i want to do is when i select a certain product and <click> show report...
    the record of the product and its company will be displayed on the datareport...

    thats all... thanks in advance

  2. #2
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Smile Re: dynamic datareport

    Read about passing parameters to data report.
    Try this !!
    1.In the command add a query "select * from product where ProdName=?" and apply
    2.In parameter tab select parameter set its data type.
    3.Add the command object to data report.Set data report properties to command and dataenvironment

    In the form on button click write
    dataenvironment1.command1(listview selectedtext) datareport1.show

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