I am using a database entry regarding the Sex (M or F) to decide on whether the salutaion gets a Mr. or a Mrs.. I have run this code with no errors so i believe it is fine. My problem is getting a variable to write. The variable is Sexx, i have tried ' Response.Write(sexx) to no avail. Any ideas? HEre is the code.
set sex = conn("Patinet Sex"
If Sex = M Then
Set Sexx= "Mr"
ElseIf Sex = F Then
Set Sexx= "Mrs"
End If
set sex = conn("Patinet Sex"
If Sex = M Then
Set Sexx= "Mr"
ElseIf Sex = F Then
Set Sexx= "Mrs"
End If