Passing parameters w/o prompt to Crystal reports
This will be quick...i tried using both functions to pass parameters to my reports.
varCR = PESetNthParameterField(intJobHandle, i, TCrystalParam)
varCR = crPESetNthParameterField(intJobHandle, i, .ValueType, .DefaultValueSet, .CurrentValueSet, .Name, .Prompt, .DefaultValue, .CurrentValue)
They worked fine. But all of a sudden, the parameters aren't passed anymore therefore prompting me for the values of the parameters, which shouldn't happen. What's happening here??
I confirmed that it wasn't passed to the report by using 'PEGetNthParameterField'.
This is urgent guys so any kind of help is a big one. thanks!