multiple parameters to data report

Reply

Join Date: Oct 2007
Posts: 3
Reputation: stargazr is an unknown quantity at this point 
Solved Threads: 0
stargazr stargazr is offline Offline
Newbie Poster

multiple parameters to data report

 
0
  #1
Oct 7th, 2007
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..
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 147
Reputation: hopalongcassidy is an unknown quantity at this point 
Solved Threads: 13
hopalongcassidy's Avatar
hopalongcassidy hopalongcassidy is offline Offline
Junior Poster

Re: multiple parameters to data report

 
0
  #2
Oct 7th, 2007
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(...
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 3
Reputation: stargazr is an unknown quantity at this point 
Solved Threads: 0
stargazr stargazr is offline Offline
Newbie Poster

Re: multiple parameters to data report

 
0
  #3
Oct 7th, 2007
doesnt work..gives some multiple ole db error..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC