Data Environment & Data Report in VB^

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abul Hassan
    New Member
    • Dec 2011
    • 2

    #1

    Data Environment & Data Report in VB^

    i want to pass 2 string parameter from a form3 to data environment to generate data report. when i use the below code i get a run-time error message of code '-2147217872(8004 0e30') stating that "Type name is invalid"
    the code i used is
    Code:
    DataEnvironment1.Cmd1 Form3.Text1.Text, Form3.Text2.Text
    DataReport.Show
    where cmd1 is the command name in the data environment. Pl help me.
    Any other way to send the 2 string parameter to data environment and then call data report???
Working...