Modifying Query At Run Time

Modifying Query At Run Time

Forum member · Jan 21, 2007
Im using the reportWriter for DynamicPDF and have a report with a query in it however i need to change the query to include a word that the user enters at run time. Is there any way i can do this? Basically what i want to be able to do is change the query in a report at run time? I had though about opening the actual xml file and modifying that but i thought there must be an easier way???

Re: Modifying Query At Run Time

Support · Jan 24, 2007
Hello, There are two ways to accomplish this. The first is to use a variable in the query. The second would be to specify the query using an event. Take a look at the Report Parameters help topic for details on how to do this. You would just use a Parameters variable (#Parameters["UsersWord"]#) in your SQL statement as show in the help topic. Take a look at the Event Driven Queries help topic for details on this. Thanks, ceTe Software Support Team