Many Novice/Professional users face a common error "A boolean is required here" while using Instr() Function in Crystal Report. They try to give true /false or 0/1 value. But still failed in getting the desired result.
Instr() Function take the Index if it find the given text in the defined string. So the simple solution of the problem is
if Instr(string from where to search , string that is searched) > 0 then
"Type the message if the search is successfull"
else
"Type the message if the search is Unsucessfull"
I hope that you will understand it this time and after then in entire your life you will not forget it.
I have created this blog to place some of important things on it for my personal use and also to help others. Now a days I am doing job as Software Engineer in a company. I have completed my graduation in Computer Science from University of Sindh, Jamshoro, Pakistan.
Subscribe to:
Post Comments (Atom)
Docker Tutorial
I have listed all the necessary commands of Docker below. In case if any is missing or if any improvement required, please share in comment...
-
In my case, this error pertains to Oracle Merge query . After 30 minutes of time wastage and a lot of hunting on different forums, I come to...
-
Above problem occur when you have not added a group (of which User try to login) in your local policy login. To resolve the issue, follow t...
-
Dear Readers, I face this problem in a web application build in .aspx. It mainly occurs when you are performing some action with javascrip...
No comments:
Post a Comment