Hi,
Not sure if I am posting in the correct Forum. I posted in SQL forum before this. I have a report in an ACCESS ADP database which is driven by a stored precedure. There are a number of parameters which get fed to the SP.
Everything works fine. However, if the user enters something incorrectly, the SP does not pass back any information and the user usually runs the report again because there is no way to tell if the user entered the data correctly. I am checking the @@Rowcount at the end of the SP and if set to zero, I do another SELECT and pass the parameters back to the report. The problem is you cannot do 2 selects and pass back data.
Does anyone know how I can get around this? Is there another way to notify the user what he/she entered on the report?
Thanks,
Hope I didn't get too wordy. Please respond back if I confused anyone.
Remember when... everything worked and there was a reason for it?
Not sure if I am posting in the correct Forum. I posted in SQL forum before this. I have a report in an ACCESS ADP database which is driven by a stored precedure. There are a number of parameters which get fed to the SP.
Everything works fine. However, if the user enters something incorrectly, the SP does not pass back any information and the user usually runs the report again because there is no way to tell if the user entered the data correctly. I am checking the @@Rowcount at the end of the SP and if set to zero, I do another SELECT and pass the parameters back to the report. The problem is you cannot do 2 selects and pass back data.
Does anyone know how I can get around this? Is there another way to notify the user what he/she entered on the report?
Thanks,
Hope I didn't get too wordy. Please respond back if I confused anyone.
Remember when... everything worked and there was a reason for it?