Hi Dragan,
Finally I found the problem. The bug was in my configuration. My config.fpw set collate to General when I use VFP and when I runned my exe the collate was set to Machine. As the strings that I compared contain a mix of uppercase my conditions was skipped letting me believe that my code was not update...
Pleasure of coding...
Normand
Have a nice day,
Normand