mitchadams
Programmer
I am using Crystal Reports 8.5, and am new to the product so must apologise for my limted knowledge.
I have a formula field which takes a unique identifier from my database and adds a modulus 11 style check digit to the end. The formula I have written should provide the correct results.
When I preview the report I get true or false, I cannot seem to work out how to display the value calculated.
The formula I am using is as follows:
What happens if you get scared half to death twice?
I have a formula field which takes a unique identifier from my database and adds a modulus 11 style check digit to the end. The formula I have written should provide the correct results.
When I preview the report I get true or false, I cannot seem to work out how to display the value calculated.
The formula I am using is as follows:
Code:
numberVar total := 0;
numberVar i := 0;
for i := 1 to 7 step 1 do
{STUDENTS.S_REF} &
ToText(11 - ((total + (ToNumber(
Mid({STUDENTS.S_REF},i,1))*(9-i)))
mod 11))
What happens if you get scared half to death twice?