Is it possible to prompt for parameters without using a query step? I want to prompt for parameters then use the parameters in a code node that runs a pass through sql query. I've been trying to figure this out for weeks.
Finally figured it out after weeks of searching. Right click code node and select properties. On the left you will see parameters. This seems to coordinate the code parameters with the parameters created in Parameter manager.
Thank you for the link, I had seen that one, however I am not finding the section in the paper that shows how to use parameters in a custom code object. I am curious if there is a better way of accomplishing this than the way I did it. It was not intuitive that you must define the parameters once in parameter manager then again in the code object.
Bill, I would say the way you did it is the correct solution. Defining the prompt in the prompt manager makes sure that EG has the prompt available for use throughout the project. Getting those values used in the appropriate spot, and getting the appropriate prompt window, comes from associating the prompt with specific tasks, queries, or programs.
I agree it is a little work, but think about how much time you're saving down the road by getting the prompt rather than having to manually edit the code each time!