With the car running, the fluid is at the correct level? This means the pump is working

If D or R don't work, that usually means they aren't getting fluid. You may have a channel plate/valve body gasket issue or an input seal issue. Those are about the only items that could keep you from having any movement at all. (Or broken diff/axle..but that would be obvious)