Okay, so I am a "Deadhead Moment" this Friday afternoon.
Here is what I am attempting to do with an If-Then statement and I can only get it to do either print just itemnumA with the cost or just itemnumB with it's cost.
The results I need are that commoncost always picks up either costA or costB depending on if it is null or not.
[tt]
itemnumA costA itemnumB costB commoncost
83723 1.45 <null> <null> 1.45
73623 2.42 <null> <null> 2.42
<null> <null> 38273 3.25 3.25
63726 1.43 <null> <null> 1.43
<null> <null> 84734 3.45 3.45
<null> <null> 77363 1.24 1.24
66356 2.67 <null> <null> 2.67
[/tt]
Simply put if itemA is not null then print itemnumA's cost. If itemB is not null then print itemnumB's cost. ItemnumA or itemnumB will never be null for the same line; it will only be one or the other.
Thanks so much.
Mark
Here is what I am attempting to do with an If-Then statement and I can only get it to do either print just itemnumA with the cost or just itemnumB with it's cost.
The results I need are that commoncost always picks up either costA or costB depending on if it is null or not.
[tt]
itemnumA costA itemnumB costB commoncost
83723 1.45 <null> <null> 1.45
73623 2.42 <null> <null> 2.42
<null> <null> 38273 3.25 3.25
63726 1.43 <null> <null> 1.43
<null> <null> 84734 3.45 3.45
<null> <null> 77363 1.24 1.24
66356 2.67 <null> <null> 2.67
[/tt]
Simply put if itemA is not null then print itemnumA's cost. If itemB is not null then print itemnumB's cost. ItemnumA or itemnumB will never be null for the same line; it will only be one or the other.
Thanks so much.
Mark