I'm using VB.NET 2005 and CR XI. I am trying to filter a CR report with a selection formula as below:
cmblabnumber is a drop down box
I'm new to .NET and am following a published example from MSDN with a few variations, but apparently, I am omitting some formatting from this string. I am using a drop down box filled with lab numbers to filter the form to show only the lab number selected. This looked so easy, but the error message on run says
Any ideas?
Code:
Dim selectionFormula As String = "{LabNumber.OldLabnumber} = " & cmblabnumber.Text
cmblabnumber is a drop down box
I'm new to .NET and am following a published example from MSDN with a few variations, but apparently, I am omitting some formatting from this string. I am using a drop down box filled with lab numbers to filter the form to show only the lab number selected. This looked so easy, but the error message on run says
Code:
"A string is required here"
Any ideas?