I am using VS2005 and VB along with version 2.0 of LLBL.
I created a new project and generate the code from my SQL Server DB.
I tried using this code:
colSavedReports = New SavedReportCollection()
Dim Filter As IPredicateExpression = New PredicateExpression()
Filter.Add(Repository.SavedReportFieldIndex.UserID = Functions.User.UserID)
colSavedReports.GetMulti(Filter)
and I get this error in the designer:
Value of type 'Boolean' cannot be converted to 'SD.LLBLGen.Pro.ORMSupportClasses.IPredicate'.
This error is in the Filter.Add parameter. I am following what I have read in the help file but it's not working. What am I doing wrong?