473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
2 1207
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: billy.becker | last post by:
I need to save a wav file that is HTTP POSTed to a php page. What does PHP5 do automatically to a POSTed variable when it puts it in the $_POST superglobal array? I haven't been able to find any...
12
by: Fred Pacquier | last post by:
First off, sorry for this message-in-a-bottle-like post... I haven't been able to phrase my questions well enough to get a meaningful answer from Google in my research. OTOH, it is standard...
2
by: TC | last post by:
I would like to save bitmaps to a file stream, but I can't get the Bitmap.Save(Stream) overload to work. If I save one bitmap to the stream, it works okay, but if I save two or more, they all...
5
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1....
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
19
by: active | last post by:
The ColorPalette class has no constructor so how does one use it? I define a variable by: Dim cp as ColorPalette but don't know how assign an object to the variable. Thanks in advance
1
lifeisgreat20009
by: lifeisgreat20009 | last post by:
This is what i am getting on running the program......... C:\PROGRA~1\Java\JDK15~1.0\bin>javac Editor.java Note: Editor.java uses or overrides a deprecated API. Note: Recompile with...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
11
by: andrewdb | last post by:
I have been working with a database that was already created by somebody else, who now no longer works here, so I cant ask any questions. None the less, there is a table 'Ascertainment' which...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.