Text deleted from fields by pressing tab key

RGALLEN

Registered User.
Local time
Today, 00:39
Joined
Apr 30, 2001
Messages
18
I have an access application that is performing a little strange.

I enter someone's last name into a text box control and press the "tab" key. I then enter their first name, which is also a text box control. I then select the "tab" key several times to move to the save contol.

Once the focus gets to my Exit button everything is still ok, but as soon the Exit button losses the focus my text is removed from both of the text box controls.

I have walked through the code so many times and have yet to find why this problem is occurring. It isn't being deleted through the code as far as I can tell.

Does anyone have an idea of wht is happening to my text? I have searched everywhere and still have not found anything. Help...
 
Are you maybe moving to a new record?
 
If you're not moving to a new record as Keith suggested, is there any code on the On_exit or lost_focus events for the command button? If so, what is it? If not, can you paste the code from your form's code module? Maybe someone can see somehting you've missed.
 
I'm sure Keith is right here! In the form's design view goto the form's Properties - Other and change the Cycle Property from All Records to Current Record.
 
I followed missinglinq's instructions and found that this did correct my problem. I thank each of you for you assistance. It was truly appreciated. :D
 

Users who are viewing this thread

Back
Top Bottom