in reply to IF..output to frame

Please, can you explain with more details your problem?