Borislav,
>I see you already get the answer from Eric. Can I suggest you always to use Combo boxes that are above the message area just to point what version of VFP you use and/or DataBase if it is appropriate. What I mean is that if you use version smaller than VFP8 the Eric answer wouldn't work.
It's true.
Detail: I saw the Moises's answer about him VFP version before my reply. 8-D
Erick
Força Sempre!
Strength Always!