Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: VS2013 CR Report returns color names instead of ID#

$
0
0

I am connecting to the database through the Visual Studio Data Source with a connection string. I have only modified other applications with reports in them in the past and I've not built one from scratch.  That is why I am having difficulty this first time, here is my button code:

 

PrivateSub btnPrint_Click(sender AsObject, e AsEventArgs) Handles btnPrint.Click

    Dim frmRep1E AsNew frmRep1E

    Dim cryRpt AsNew ReportDocument

    Dim cryStr AsString

    cryStr = "rptInfo1.rpt"

    cryRpt.Load("C:\Users\********\Documents\Visual Studio 2013\Projects\RFATrack1.2\RFATrack1.2\"& cryStr & "")

    cryRpt.SetParameterValue("TrackNo1", "Me.TrackNo1.Text")

    frmRep1E.Show(cryRpt)

EndSub


Viewing all articles
Browse latest Browse all 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>