EndCurrentEdit Tips?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mitchell Vincent

    #1

    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
  • Cor Ligthert

    #2
    Re: EndCurrentEdit Tips?

    Mitchel,

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

    Cor


    Comment

    • Cor Ligthert

      #3
      Re: EndCurrentEdit Tips?

      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


      Comment

      • Mitchell Vincent

        #4
        Re: EndCurrentEdit Tips?

        Cor Ligthert wrote:[color=blue]
        > Mitchel,
        >
        > When you place it direct before your update command, than is that soon
        > enough,
        >
        > Cor
        >
        >[/color]

        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

        Comment

        • Cor Ligthert

          #5
          Re: EndCurrentEdit Tips?

          Mitchel,

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

          Cor


          Comment

          • Mitchell Vincent

            #6
            Re: EndCurrentEdit Tips?

            Cor Ligthert wrote:[color=blue]
            > Mitchel,
            >
            > Normally only for by instance the button that force the update.
            > Not for all textboxes or whatever.
            >
            > Cor
            >[/color]

            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

            Comment

            • Cor Ligthert

              #7
              Re: EndCurrentEdit Tips?

              Mitchell,

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

              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


              Comment

              • Mitchell Vincent

                #8
                Re: EndCurrentEdit Tips?

                Cor Ligthert wrote:[color=blue]
                > Mitchell,
                >
                > Maybe it is easier when you tell what you mean with "Editable"contr ol.
                >
                > 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
                >
                >[/color]
                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

                Comment

                Working...