Joined: 10 Jan 2012
Online Status: Offline
Posts: 14
Posted: 10 Jan 2012 at 8:11am
When I put the parenthesis in it returns no results and wipes my data. I am trying to search for doctors who have a null other number or an other number that starts with N
Joined: 10 Jan 2012
Online Status: Offline
Posts: 14
Posted: 10 Jan 2012 at 8:15am
I want the Doctor other number to show if it is null or starts with N for a specified filled on date range for a specific department. I want the medication qty to be greater than 0
Joined: 10 Jan 2012
Online Status: Offline
Posts: 14
Posted: 10 Jan 2012 at 8:33am
I agree I have never written a date range with an = before a co worker started this report and gave it to me to finish. I normally write mine off of parameters. Do you have any suggestions on how to change the formula to go off of a begin date and end date parameter?
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 10 Jan 2012 at 8:53am
I recommend debugging it by alterning your statement to run each portion by itself and see if each by itself doe what you expect/want. Run each color line and see which item or items are causing you issue. Then you can spen time on the correct "problem" rather than assuming you understand the problem and that assumption being wrong.
(isNull ({DOCTOR.OTHERNO})
or {DOCTOR.OTHERNO} like "N*")
//and {@Fill Date} in minimum({?Date Range}) to Maximum({?Date Range})
//and {@Qty} > 0.00
//and {TRANS.DEPT} = {?Select Pharmacy}
Which one(s) did not give you the correct result for that condition?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum