Hi!
In the KeyPress event put following code:
if nKeyCode=9 && Tab character code
KEYBOARD "{ENTER}"
nodefault
endif
Instead of the KEYBOARD "{ENTER}" command you can also call functionality that Enter key does.
HTH.
>Hi All
>
>Can anyone please help with this problem.
>
>I have a numeric field for price, when I type in 100 and press ENTER it shows 100.00 which is correct BUT when I type in 100 and press TAB then it shows 1000.00 . Does anyone know how to rectify this problem.
>
>Thanks in Advance
>Fida
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.