>>>As I said previously, this apparently is a bug -- I used the keyboard command to overcome it...an odd little bug, it is, though not exactly a serious one.
>>
>>I can't use KEYBOARD "{shift+leftarrow}" on all textboxes though because sometimes they might contain more than one character, for example, if the field width is 10, but sometimes only contains one character. The Knowledge Base suggests using KEYBOARD "{end}" and KEYBOARD "{shift+home}", but if the field width is only one, then END moves to the next textbox!
>>
>>Do you have any other suggestions, something I can add to the GotFocus event of all textboxes on a form?
>>
>>Jeff
>
>Bruce advise is Ok, just do it IF LEN(ALLT(this.value))=1 in GotFocus.
Also, you will need to check TYPE if values can be numeric before the LEN, then use VAL...say, maybe this isn't such a little bug after all. :~)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.