943,584 Members | Top Members by Rank

Ad:
Oct 7th, 2007
0

multiple parameters to data report

Expand Post »
i want to pass 3 parameters to my data report in VB 6.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Private Sub DataReport_Initialize()
  2. DataEnvironment1.Command1 (Form1.txtregno.Text,form1.cstd.Text,form1.cinstlno.text)
  3. End Sub
i am getting compile error. expected '='

plz help..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
stargazr is offline Offline
3 posts
since Oct 2007
Oct 7th, 2007
0

Re: multiple parameters to data report

This is a misleading error message. It is usually caused by a reference to a Sub that has more than one parameter. Try Call DataEnvironment1.Command1(...
Reputation Points: 53
Solved Threads: 13
Junior Poster
hopalongcassidy is offline Offline
148 posts
since Oct 2007
Oct 7th, 2007
0

Re: multiple parameters to data report

doesnt work..gives some multiple ole db error..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
stargazr is offline Offline
3 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Passing Variants from VB to VC++
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: plz help for encode





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC