RSS Forums RSS

multiple parameters to data report

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Reply
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

  #1  
Oct 7th, 2007
i want to pass 3 parameters to my data report in VB 6.
Private Sub DataReport_Initialize()
DataEnvironment1.Command1 (Form1.txtregno.Text,form1.cstd.Text,form1.cinstlno.text)
End Sub
i am getting compile error. expected '='

plz help..
AddThis Social Bookmark Button
Reply With Quote  
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

  #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  
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

  #3  
Oct 7th, 2007
doesnt work..gives some multiple ole db error..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Views: 2297 | Replies: 2 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:24 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC