Results 1 to 2 of 2

Thread: problems passing parameters to reports

  1. #1
    Guest
    Hi,

    I am using the following line of code to pass parameters to reports.

    dtaEnvSample.Commands("com").CommandText= "select.....

    There are 4 command buttons for the different reports on the screen with different SQL statements behind each. My problem is that as soon as I run the first one it seems that every one I run after it is recieving the same SQL code. Is there any way of 'refreshing' the command text ?

  2. #2
    Member
    Join Date
    Jan 2000
    Location
    Singapore
    Posts
    59
    Hi,
    I am not sure where you are held up. But I used in one of my projects ,data reports.
    I created command objects for each report drag and drop them in to the data report(even with parameters).Whenever I click the button the report will be generated.(call the data report to display or print).

    Thanks
    karun


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