473,406 Members | 2,352 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,406 software developers and data experts.

EndCurrentEdit Tips?

Do I *really* have to call EndCurrentEdit in every single editable
control when the focus is gone to get the bound dataset to update? Is
there a way to update multiple controls at once?

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
Nov 21 '05 #1
7 3120
Mitchel,

When you place it direct before your update command, than is that soon
enough,

Cor
Nov 21 '05 #2
When you have a method as:

If ds.haschanges then
.....

Than is that a part of the update method in the way I answered you.

Cor
Nov 21 '05 #3
Cor Ligthert wrote:
Mitchel,

When you place it direct before your update command, than is that soon
enough,

Cor


Right, but for this one form I have 63 editable controls, do I have to
call EndCurrentEdit on *all* 63 before I do the update?

Many thanks, Cor, I owe you a drink for answering all these questions
for me!

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
Nov 21 '05 #4
Mitchel,

Normally only for by instance the button that force the update.
Not for all textboxes or whatever.

Cor
Nov 21 '05 #5
Cor Ligthert wrote:
Mitchel,

Normally only for by instance the button that force the update.
Not for all textboxes or whatever.

Cor


I'm sorry Cor, I don't follow you here. Can you give me a quick example?

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
Nov 21 '05 #6
Mitchell,

Maybe it is easier when you tell what you mean with "Editable"control.

For me it is impossible to make a sample, because I am very much guessing
what you mean with those 64 editable contols.

(Or Show some "sample" code where you have used the combination *editable*
code and *endcurrentedit*.)

Cor
Nov 21 '05 #7
Cor Ligthert wrote:
Mitchell,

Maybe it is easier when you tell what you mean with "Editable"control.

For me it is impossible to make a sample, because I am very much guessing
what you mean with those 64 editable contols.

(Or Show some "sample" code where you have used the combination *editable*
code and *endcurrentedit*.)

Cor

Thanks Cor! I managed to get it right after some guessing. If you're
still curious I'll post what I was doing..

--
- Mitchell Vincent
- kBilling - Invoices Made Easy!
- http://www.k-billing.com
Nov 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Iris Karbstein | last post by:
Hi NG, I have a form for input, with textboxes and Comboboxes. When closing the form with an OK Button the changes are in the underlying DataTable to be taken over. I realized this as follows:...
0
by: Peter | last post by:
Hi, I'm developing a program in MDI style I've got 2 froms MDIForm (parent form) Form2 (child form with dataGrid1 and myDataSet)
0
by: Dmitry Karneyev | last post by:
Hi! After I call CurrencyManager.EndCurrentEdit all my binded data from win form disappeared? Why it can be? Thanks!
0
by: Johann Blake | last post by:
Can someone explain the conditions/events by which the Framework executes the EndCurrentEdit internally when a control (such as a textbox) is bound to a dataset? It appears that unless this method...
0
by: graham | last post by:
Hi there, Can anyone help me with a definitive solution to the problem I have. I know this is much revisitied ground, and I have read a number of articles.. but I still can;t get this binding to...
2
by: Jan Nielsen | last post by:
Hi I have a parent detail relationship between two tables. The detail records are shown in a datagrid (GridRemarks) It is databound like this GridRemarks.Datasource = mainDatasource ' a...
6
by: Jan Nielsen | last post by:
Hi I asked this question some weeks ago, but have found no soluion yet, so I try again I have a parent detail relationship between two tables. The detail records are shown in a datagrid...
3
by: Aspnot | last post by:
I have a form that is setup in a Master/Detail configuration. The Detail section is represented with a DataGridView. Some of the columns in this DataGridView control are unbound. When a user...
2
by: Wan | last post by:
Dear Group, I have a small application with two buttons and three textboxes with databinding. One of the textboxes has a ¡§textchanged¡¨ event and other 2 textboxes are attached with the same...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.