>Hello Roi,
>
>Today I faced one more problem related to lastkey() only.
>I have added an input field as combo box on the same form.
>1. Drop down the combo.
>2. Instead of selecting a record from the drop down, click on the text box or anywhere on the form. (Lastkey() value becomes 27.)
>3. Again click on the text box. It allows the user to leave combo box blank.
>
>Thanks.
Not quite sure about that one. Maybe look at the lost focus (just guessing).
sorry.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!