Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7790

Formula Workshop Question

$
0
0

Hello,

 

I have a report to get my next ten days for Shipments for our Logistic department here.  I am looking for the following values in a fields that would equal: REJ, JEMS, or REWORK.

 

This is what I have:

 

\\Find JEMS\\

if {V_INV_LOC.INV_LOC}="JEMS" then

{V_INV_LOC.ORD_QTY}

else 0

 

\\Find REJ\\

if IsNull({V_INV_LOC.INV_LOC}) or Instr({V_INV_LOC.INV_LOC},"REJ")<=0 then

0

else

{V_INV_LOC.QTY_OH}

 

\\FIND REWORK

if IsNull({V_INV_LOC.INV_LOC}) or Instr({V_INV_LOC.INV_LOC},"REWORK")<=0 then

0

else

{V_INV_LOC.QTY_OH}

 

I have this in three separate Formula Fields.  What I would like to combine these three into one Statement then to store the values it finds into place holder to print off in report.  Still new at this stuff and not sure how to go about it. I know in access it would just put this into on big IF statement then declare the values to print them off later on.

 

This current method I am using it putting duplication values in my report which I don't need.

 

Any direction would be helpful.

 

Thanks in advance.

Gerald


Viewing all articles
Browse latest Browse all 7790

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>