johnny2bad
Programmer
I have a report that was written in CR 8.5 that I am trying to modify. I added several new fields to one of the database tables then verified the Database successfully. I can use one of the new fields in a formula and it reacts correctly if the condition is met. But if the condition is not met, it will not continue on through the formula.
Example:
{IPOXMIT.CPOFlag} is my new field
--Start Code Example--
--End Code Example--
Based on the above formula, if the {IPOXMIT.WareHouseCode} = "STR" Then the report displays "STRXXXXXXX"...No problems.
And if the new field {IPOXMIT.CPOFlag} = "Y" then it displays "CPOXXXXXXX"...Still no problems.
But if neither condition is met, then it should display just the field {IPOXMIT.PONum}....but it doesn't.
I can replace the new field in the second condition here with a field that existed before i started monkeying around with it and it steps through with no problems, so this leads me to believe that the problem has something to do with the new fields added.
Any Ideas?
JohnD
Example:
{IPOXMIT.CPOFlag} is my new field
--Start Code Example--
Code:
[COLOR=blue]If[/color] {IPOXMIT.WareHouseCode} = "STR" [COLOR=blue]Then[/color] "STR" & {IPOXMIT.PONum} [COLOR=blue]Else[/color]
[COLOR=blue]If[/color] [COLOR=red]{IPOXMIT.CPOFlag}[/color] = "Y" [COLOR=blue]Then[/color] "CPO" & {IPOXMIT.PONum} [COLOR=blue]Else[/color]
{IPOXMIT.PONum}
Based on the above formula, if the {IPOXMIT.WareHouseCode} = "STR" Then the report displays "STRXXXXXXX"...No problems.
And if the new field {IPOXMIT.CPOFlag} = "Y" then it displays "CPOXXXXXXX"...Still no problems.
But if neither condition is met, then it should display just the field {IPOXMIT.PONum}....but it doesn't.
I can replace the new field in the second condition here with a field that existed before i started monkeying around with it and it steps through with no problems, so this leads me to believe that the problem has something to do with the new fields added.
Any Ideas?
JohnD