Results 1 to 4 of 4

Thread: need help to call datareport from command line and to pass parameters

  1. #1

    Thread Starter
    Hyperactive Member binilmb's Avatar
    Join Date
    Nov 2005
    Location
    Kochi
    Posts
    472

    need help to call datareport from command line and to pass parameters

    need help to call datareport from command line and to pass parameters. if it wont use dataenvironment it will be great

  2. #2

    Thread Starter
    Hyperactive Member binilmb's Avatar
    Join Date
    Nov 2005
    Location
    Kochi
    Posts
    472

    Re: need help to call datareport from command line and to pass parameters

    i find using using dataenvironment is not that much user friendly

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: need help to call datareport from command line and to pass parameters

    Moved to Reporting section.

  4. #4
    Lively Member rush_shri's Avatar
    Join Date
    Dec 2005
    Location
    Pune,India
    Posts
    78

    Re: need help to call datareport from command line and to pass parameters

    there is nothing as such. it always works. In ur SQL query use @ and any parameter variable. E.G select * from dept where dept_code = @d

    then click on the parameters tag and check for the correctness of ur parameter like its datatype etc.

    then on any command_click write the code this way ----

    'the value u r passing through text1.text
    ____________________________________

    DataEnvironment1.Command1 text1.Text
    DataReport1.Show
    Set DataEnvironment1 = Nothing
    U KNOW U R INTERNET JUNKIE WHEN U CHAT WITH UR FINGERS NOT FROM MOUTH.

    U KNOW U R INTERNET JUNKIE WHEN UR SPOUSE E-MAIL U 2 CALL U 4 DINNER

    U KNOW U R INTERNET JUNKIE WHEN UR ADDRESS BEGINS WITH http:

    U KNOW U R INTERNET JUNKIE WHEN THE PROGRAM TOLD 2 U HAPPENS 2 B TV PROGRAM.

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