Sylvain,
Yes the controls are bound to the Man table by dragging them from the DE to the form. If the pointer is being moved to the end of the table and disabling the txtBoxes what code do I use that will reset the pointer to the top of the table and will that reenable the boxes after a refresh?
Once again thanks
>Is the current control bounded to the Man table? If so, I don't know why it worked in 5, but the Seek() will move the pointer to EOF when the value is not found, causing the control to be disabled.
>
>You can use the new IndexSeek() function instead.
>
>>I have a form that has been working great that was developed on 5.0a, and now that I have upgraded to 6.0 it is giving me some problems.
>>
>>When I started out the form kept on crashing fox, so I rebuilt the form from scratch. That fixed the crashing problem. However, now I am having txtBoxes that are bound to a table go disabled when they did not do this on 5.0.
>>
>>I have a txt box on the form that has the following code in the LostFocus event;
>>
>>SELECT man
>> SET order to column1
>> IF ! seek(UPPER(alltrim(this.value)))
>> MESSAGEBOX("That part is not on Record")
>> nodefault
>> this.setfocus
>> thisform.refresh()
>> ENDIF
>>
>>What is happening is that when a number is not found the txtBoxes on the form become inactive. This did not happen in 5.0 and was a surprise for me. Why is fox disabling these txtBoxes when it didn't in the older version?
He is there and He is not Silent.