Home All Groups Group Topic Archive Search About
Author
14 May 2005 8:00 AM
Mitchell Vincent
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

Author
14 May 2005 11:45 AM
Cor Ligthert
Mitchel,

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

Cor
Author
14 May 2005 11:50 AM
Cor Ligthert
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
Author
14 May 2005 2:07 PM
Mitchell Vincent
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
Author
14 May 2005 5:08 PM
Cor Ligthert
Mitchel,

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

Cor
Author
14 May 2005 5:21 PM
Mitchell Vincent
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
Author
15 May 2005 6:05 AM
Cor Ligthert
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
Author
16 May 2005 1:34 PM
Mitchell Vincent
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