Information générale
Catégorie:
Crystal Reports
OK lets set this up as an example just so I am clear.
Crystal Report name test.rpt
Has 2 parameters already in the report itself as date type
?StartDate
?EndDate
VFP Form named GetEm
Has to fields
thisform.StartDate
thisForm.Enddate
Could you provide samples of
1) getting the form to see the report
2) getting the form values into the report
If this is to much please let me know.
I have been banging my head on this one for some time and would like to get it to work.
>The code I supplied is assuming that you have a crystal report object already setup with the report that you want to print. Am I not giving enough info? Basically, if you are creating a form that will have UI to get parameter values for your report, as long as that form knows and has access to the crystal report object that you are using, you should be able to use something similar to the code I provided. That code will set one specifice parameter. You will need to create some sort of loop around that to set multiple parameters.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement