on 01-05-2016 5:14 AM
Dear Sir,
I am facing a strange issue with regards to RecordSelectionFormula, that is when I try to assign a filter to it, its not updated. I have code as below
string filter;
filter = "({vw_ReportMemberTrxAll.TrxTypeId} = '1')";
myDoc.RecordSelectionFormula = filter;
After I assign filter to RecordSelectionFormula its still remains empty, the RecordSelectionFormula is not updated and does not give any error.
My environment is : VS 2015, Windows 10, Asp.Net, C#.
Where else the same code works in other project in VS 2013 on another computer.
Moved to .NET forum.
Try the formula in CR Designer to validate it does work.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You will need to do something like this:
Dim objFilter As New CrystalDecisions.ReportAppServer.DataDefModel.Filter()
objFilter.FreeEditingText = "New Formula"
v_objRptDoc.DataDefController.RecordFilterController.Modify(objFilter)
Thanks.
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.