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

EndCurrentEdit Tips?

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
Mitchel,

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

Cor
Nov 21 '05 #2

P: n/a
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

P: n/a
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

P: n/a
Mitchel,

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

Cor
Nov 21 '05 #5

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.