Hello gurus and aces -
I've have this situation:
User is prompted to enter a value.
Value is sent to dynamic input.
Results of dynamic input goto a cross tab. New column is created, aggregating a 1-M dataset.
Results of cross tab are joined back up to output of dynamic input for master data stream.
Perform a function on results of the cross tab.
Now, if the user enters a value that returns for the dynamic query , everything is golden and we have saved the day. But. If the user enters a value that does *not* return anything from the dynamic query, my operation of performing a function on the results of the cross tab fails complaining about an unknown variable.
I'm banging my head against this. What I really need to do is detect this situation and abort on the primary processing stream, and do something else like tell the user that they're query didn't come back with anything. But having an error tends to muck everything else up. I feel like the solution is simple, but I cannot figure it out.
See attached work flow for a close enough mock up.
Can anyone help?
Thanks.
brian