Fermer l' aperçu crée par crystal report 9 en vb6

tmouh Messages postés 2 Date d'inscription mercredi 25 mai 2016 Statut Membre Dernière intervention 25 mai 2016 - 25 mai 2016 à 17:21
tmouh Messages postés 2 Date d'inscription mercredi 25 mai 2016 Statut Membre Dernière intervention 25 mai 2016 - 25 mai 2016 à 17:57
bonjour,
j'utilise crystal report 9 dans mon application en vb6
j'ai pu afficher l'appercu de mon etat ,mais je n'arrive pas a fermer cet appercu ,
pour passer a autre chose dans mon application , le programme reste bloquer.
merci

2 réponses

ucfoutu Messages postés 18038 Date d'inscription lundi 7 décembre 2009 Statut Modérateur Dernière intervention 11 avril 2018 211
25 mai 2016 à 17:45
0
tmouh Messages postés 2 Date d'inscription mercredi 25 mai 2016 Statut Membre Dernière intervention 25 mai 2016
25 mai 2016 à 17:57
merci pour ta reponse,
moi j'utilise crystal report 9 ,c'est different ,je n'ai pas le probleme d'affichage de l'appercu de l'etat mais de fermer cet appercu
je l'affche par ce code:
 myReport.Database.SetDataSource Rdetat

' LINK VIEWER TO REPORT
CRViewer.ReportSource = myReport
'SHOW REPORT
CRViewer.ViewReport

' ZOOM METHOD DOES NOT WORK WHILE
' Do While CRViewer.IsBusy
' DoEvents 'REPORT IS LOADING, SO WE MUST PAUSE
' Loop 'WHILE REPORT LOADS.
CRViewer.Zoom 1
0
Rejoignez-nous