Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This used to work
Message
 
À
06/07/2015 08:08:31
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
C# 5.0
OS:
Windows 7
Network:
SAMBA Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01621780
Message ID:
01621787
Vues:
62
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform