EndCurrentEdit Tips?

  • Thread starter Thread starter Mitchell Vincent
  • Start date Start date
M

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?
 
Mitchel,

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

Cor
 
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
 
Cor said:
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!
 
Mitchel,

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

Cor
 
Cor said:
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,

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
 
Cor said:
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..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top