By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,797 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,797 IT Pros & Developers. It's quick & easy.

Does not save data

P: n/a
Jim
When I manually enter data into a bound textbox then point my cursor to my
Save button and press Save the data I just entered data does not save.
However if I move my cursor to another text box or grid on the form, after
entering the data, then press Save it saves properly.

Two questions:

1. Why doesn't it save when I directly envoke the save operation without
moving out of the textbox first?
2. Is there a workaround other than testing text_changed events or lost_focus?
--
Thanks, Jim
May 3 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jim,

I assume you are using versions before 2005. Than you can use the
endcurrentedit to push the data in the table.

http://msdn.microsoft.com/library/de...tedittopic.asp

Otherwise the bindingsourse EndEdit

I hope this helps,

Cor
"Jim" <Ji*@discussions.microsoft.com> schreef in bericht
news:EA**********************************@microsof t.com...
When I manually enter data into a bound textbox then point my cursor to my
Save button and press Save the data I just entered data does not save.
However if I move my cursor to another text box or grid on the form, after
entering the data, then press Save it saves properly.

Two questions:

1. Why doesn't it save when I directly envoke the save operation without
moving out of the textbox first?
2. Is there a workaround other than testing text_changed events or
lost_focus?
--
Thanks, Jim

May 4 '06 #2

P: n/a
Jim
Cor,

I'm using 2005 and I forgot to use the endedit. Duh..............
--
Thanks, Jim
"Cor Ligthert [MVP]" wrote:
Jim,

I assume you are using versions before 2005. Than you can use the
endcurrentedit to push the data in the table.

http://msdn.microsoft.com/library/de...tedittopic.asp

Otherwise the bindingsourse EndEdit

I hope this helps,

Cor
"Jim" <Ji*@discussions.microsoft.com> schreef in bericht
news:EA**********************************@microsof t.com...
When I manually enter data into a bound textbox then point my cursor to my
Save button and press Save the data I just entered data does not save.
However if I move my cursor to another text box or grid on the form, after
entering the data, then press Save it saves properly.

Two questions:

1. Why doesn't it save when I directly envoke the save operation without
moving out of the textbox first?
2. Is there a workaround other than testing text_changed events or
lost_focus?
--
Thanks, Jim


May 4 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.