Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This used to work
Message
De
06/07/2015 10:11:30
 
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:
01621789
Vues:
70
Good to hear it's working

>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"
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform