In MDBi use IIF function. How can I use this function in ADP ( view or sp)? There is a similiar function? Thnks José