Wednesday, January 27, 2010

Correct full address computation

The reason the computation variable was not working was because I was forgetting to put in the "RESULT +" command. Here's how it looks when it's working fine:

Address line 1 TE + "
"
IF ANSWERED(Address line 2 TE)
RESULT + Address line 2 TE + "
"
END IF
RESULT + City TE + ", " + State MC + " " + Zip TE

"RESULT +" Carries down everything that has come before. Without the missing RESULT (in bold up there) every time there was a line 2 it was replacing the line 1.

No comments:

Post a Comment