>>>Hi,
>>>
>>>When i create a textbox and assign the control source a memory variable from a table(EX: m.company)
>>>
>>>The only wait it stores the information in the variable is if i exit the textbox.
>>>
>>>Is there something that i can do to fix this, user rarely exit the textbox to confirm there choice.
>>>
>>>Thanks for any help:)
>>
>>Basically, whatever your users will do, they will exit textbox so memory variable should work, though it's better not to use variables at all. Textbox.Value property is good storage itself.
>
>The user can modify the information and save with commandbutton but it doesn't save the info.
>
>I need the memory variable to store and change info from table.
When a user click on button the first events fired are Textbox.Valid and Lostfocus, so your assumption was wrong. Anyway, I advise you to use Thisform.Textbox.Value in your saving routine.
Edward Pikman
Independent Consultant