crystal reports 2008 - Browse field data shows value, but displays another value -


i have formula written field in crystal reports. when refresh report, different value formula. required value last value in browse field data dialog formula. isnt formula supposed have 1 value output? why multiple values shown in browse field data dialog.? there way retrieve last value of browse file data dialog?

my formula looks below:

whilereadingrecords; numbervar codtotal; if {xxx.yyy} = 1 (    codtotal := codtotal  + {xxx.zzz}; ); codtotal; 

browse field data shows values "codtotal" acquires result of formula , displays random value amongst assigned value.

please me out. amateur in crystal reports.

any highly appreciated.

~regards.

first observation should have placed formula (details, footer.. etc).

why multiple values shown in browse field data dialog.? 

browse field shows data present in table in case applying "if" condition of filed. can possible there 1 record satisfies condition.

i suggest run report without codition, check results , apply condition , check results again.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -