i need to know how to prevent Report from refreshing if there is something wrong in the prompt values?
1- i need to check on field in the prompt
2- refresh or don’t refresh according to that value
3- show a message box say the error
If you atre trying to validate the values people are entering into the prompts then this is not possible. Business Objects only generates the SQL after the prompt values have been entered.
can’t see how you could do this without VBA as Mak said in his post. if you have got BCA you could set condition to prevent it from refreshing that way.
BCA is Broadcast Agent. It is a Business Objects product that allows reports to be rscheduled refreshed and distributed automatically. During this process you can set conditions on wherther you wish the report to be refreshed or you can set up a file watcher so that only the prescence of this file would result in the report being refreshed.
If you have access and permissions to used the SDK It may be possible to do what you want and I have attached a link to a post in that forum. However, as you are quite new to BO you may not feel comfortable going to this level at this time.
Maybe you could add a little more deatil to the text in your prompts so users do not enter the wrong data.