In general a dream about a robbery has different interpretations. Having such a dream does not mean that you yourself will become a victim of a robbery. Often the meaning is less direct and more metaphorical.
If you have a dream in which you will realize that you have been robbed without actually seeing the robber it means that someone will try to manipulate you for their own benefit. This person will likely be nominally a friend of yours and they will be a ‘smooth operator’. In other words they will quite unnoticeably try to manipulate you.
If you have a dream in which you have been robed in a very direct way that is you have seen your robber it means that someone will openly show their hostility towards you. This will likely be in your personal life and it is possible that a person with whom you had a relationship in the past will reappear again along with their hostility towards you.
If you have a recurring dream in which you are robed it means that you have reached a somewhat of a status quo situation in your life. A large change in your way of living might be needed if you want to get out of this situation.
The meaning of a dream in which you are a robber that has committed a robbery is quite positive. It means that you will be successful in some project in your professional life despite the odds being against your success. Sometimes a dream like this one signifies that soon you will enter into a romantic relationship with a large age disparity.
If in the dream you are caught while committing a robbery signifies that you will tell a well hidden secret about you to someone that you really like.
If you catch someone that has committed a robbery it signifies the your professional reputation will be increased soon.