In my report I created a read only variable called 'varEmail'. I assigned it a value of of data field from the query called 'newLicenseReport.email'.
On the report for testing purposes I have used the varEmail and it shows the correct data. Good so far.
In my code (VB.net) I added this test line of code to see if I could extract the value for the email.
Code: Select all
Dim xx As String = report.Dictionary.Variables("varEmail").Value
Again I desire to use this in a send to address for mail message. I plan on sending a batch of dozens of the emails each day.
Any suggestions? This should be simple but I have been unable to figure it out to this point.