fk ik switch

how to handle fk an ik in the same rig.
i did try something but its not working. my idea was to rig a character with ik and detach foot or hand method then i buid an fk arm and constraint the ik arm on it. but it doesnot work as i want.
any idea? or tricks