So I have a form I've been using for awhile now for our in house labs.
Basically it prints out our CBC, CMP, LIPID and several other labs. When I originally wrote this I really just copy/pasted everything and then entered tabs so that everything lined up on the Text view and printed page. Every single one works perfectly except for the first value on our CBC.
What happens is if I use 2 of the slash t "tabs" the first line lines up with everything else on screen but when printed it is missing a tab and isn't lined up. If I use 3 of the slash t's then it isn't lined up on the text view but it prints perfectly.
Anyone have any clue what could be going on??? I've copied another block of code, rewritten it, all with the same results.
Edit: It also only happens when the first listed condition occurs.
These are my first two line and none of the others are different for the CBC.
HRET + FMT("Test: CBC","B") + HRET +
COND
CASE DOCUMENT.WBC < WBC_LOW
CFMT(str(DOCUMENT.WBC), "B", " WBC: \t\t\t","","") + FMT(str(WBCUNIT),"") + "\t" + FMT("[L]","B") + FMT(WBCRANGE,"") + HRET
CASE DOCUMENT.WBC > WBC_HIGH
CFMT(str(DOCUMENT.WBC), "B", " WBC: \t\t\t","","") + FMT(str(WBCUNIT),"") + "\t" + FMT("[H]","B") + FMT(WBCRANGE,"") + HRET
ELSE CFMT(str(DOCUMENT.WBC), "B", " WBC: \t\t\t","","") + FMT(str(WBCUNIT),"") + FMT("\t ","") + FMT(WBCRANGE,"") + HRET
ENDCOND
+
COND
CASE DOCUMENT.RBC < RBC_LOW
CFMT(str(DOCUMENT.RBC), "B", " RBC: \t\t\t","","") + FMT(str(RBCUNIT),"") + "\t" + FMT("[L]","B") + FMT(RBCRANGE,"") + HRET
CASE DOCUMENT.RBC > RBC_HIGH
CFMT(str(DOCUMENT.RBC), "B", " RBC: \t\t\t","","") + FMT(str(RBCUNIT),"") + "\t" + FMT("[H]","B") + FMT(RBCRANGE,"") + HRET
ELSE CFMT(str(DOCUMENT.RBC), "B", " RBC: \t\t\t","","") + FMT(str(RBCUNIT),"") + FMT("\t ","") + FMT(RBCRANGE,"") + HRET
ENDCOND