Close one screen, opens other screen

Close one screen, opens other screen

Hello, I want to create a button which closes opened screen and opens other screen by one click. What function I should use? Dario

This is a migrated post! Originally posted on 14.11.2012 by user dario. Please be aware that information can be outdated.