Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9182

Re: If statement in Crystal Report to Print Location Address

$
0
0

Hi Nabil,

 

I modified my previous post.. but here's the new one. edited base on your requirements.

please also supply the condition value that corresponds to the loccode... this is a sample only you can modify it base on what you wanted.

 

 

local stringvar addrs;

if {RIN1.Loccode}= 'condition value' then addrs := 'your address 1';

if {RIN1.Loccode}= 'condition value' then addrs := 'your address 2';

if {RIN1.Loccode}= 'condition value' then addrs := 'your address 3';

if {RIN1.Loccode}= 'condition value' then addrs := 'your address 3';

addrs;


Viewing all articles
Browse latest Browse all 9182

Trending Articles



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