Click here to Skip to main content
15,884,042 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I must write command "Crv.ReportSource = myreport" twice becouse in vs2013
for first time when execute program show all data and after second run it accept parameter. why?
how can i set Crv.ReportSourceby empty things like nothing or ...?

VB
Dim myreport As New myRpt
Crv.ReportSource = myreport

myreport.RecordSelectionFormula = {TblPersonnel.PCode} = 1 
myreport.Refresh()

Crv.ReportSource = myreport
Crv.Refresh()


thanks
Posted
Updated 28-Dec-14 23:26pm
v2
Comments
Suvendu Shekhar Giri 30-Dec-14 0:21am    
What is the exact error you are getting? Can you please describe a little more.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900