Hi
I have a situation where i will be generating a bunch of reports that will be dynamically created, converted into pdf files and stored in a folder on the local computer.
The reports are generated in the loop and the data for the report is dynamically accessed through the middle layer. (Report is not connected directly to the database.) I will be accessing the middle layer from the report based on the parameters that were sent from the front end (WinForm).
There are many chances for me to get the input wrong or the data is not right. I am populating a string "error" with the appropriate error message which needs to return to the winform, which in turn will save the information and keep looping through the sequence to create further reports.
I couldn't find the way to access the error information, upon returning to winform. (BTW these dynamic reports are never displayed on the form. )
Please help me find a way to access error field from the calling form.
Thanks.