467,184 Members | 1,334 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,184 developers. It's quick & easy.

Does not save data

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
  • viewed: 1020
Share:
2 Replies
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
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.

Similar topics

14 posts views Thread by billy.becker@gmail.com | last post: by
12 posts views Thread by Fred Pacquier | last post: by
14 posts views Thread by Anoop | last post: by
lifeisgreat20009
1 post views Thread by lifeisgreat20009 | last post: by
1 post views Thread by =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.