Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This used to work
Message
 
To
06/07/2015 08:08:31
General information
Forum:
ASP.NET
Category:
Reporting
Environment versions
Environment:
C# 5.0
OS:
Windows 7
Network:
SAMBA Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01621780
Message ID:
01621787
Views:
61
Hi Craig, and thanks for your efforts, my code snippet didn't show it but I actually set the criteria and refresh the report before I do the export and out of desperation I commented the code out and tried the export again and it worked ! the code you haven't seen is below
string selectionformula = string.Format("{0}view_clientinvoices.invoiceid{1} = {2}", "{", "}", InvoiceID);
crystaldoc.RecordSelectionFormula = selectionformula;
crystaldoc.Refresh();
which basically creates a string "{view_clientinvoices.invoiceid} = 1"
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform