If "get session("employee_name")#[Customer]ITSName))" is true in either of the statements below I always get a false reading. I've compared the strings with the "compare strings" command in Active4D and it returns a 0. I've displayed the values of both on screen and they appear identical. Does anyone see something I've glossed over?
<% if((get session("employee_name")#[Customer]OTSName)|(get session("employee_name")#[Customer]ITSName)) %>
<td align="left"><% write([Customer]Number) %></td>
<% else %>
<td align="left"> <b><a href="<% =makeLinkCustomer %>"> <% write([Customer]Number) %></a></b></td>
<% end if %>
<% case of %>
<% : (get session("employee_name")#[Customer]OTSName) %>
<td align="left"><% write([Customer]Number) %></td>
<% : (get session("employee_name")#[Customer]ITSName) %>
<td align="left"><% write([Customer]Number) %></td>
<% else %>
<td align="left"> <b><a href="<% =makeLinkCustomer %>"> <% write([Customer]Number) %></a></b></td>
<% end case %>
Christian Cypert [EMAIL PROTECTED]
Baylor Women's Basketball 2005 National Champions
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
- Douglas Adams
_______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
