can any code get skipped?

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

    #1

    can any code get skipped?

    Hi, I made an access application. And in some cases, it gives me error.
    And when I tried step by step execution, it worked fine. And every time
    afterwards. But it gave me the wrong answer before I do the debug. Is
    it possible that some code gets skipped?
    Thanks, ming

  • MLH

    #2
    Re: can any code get skipped?

    On 20 Nov 2006 23:14:25 -0800, "swingingmi ng" <ming.mge@gmail .com>
    wrote:
    >Hi, I made an access application. And in some cases, it gives me error.
    >And when I tried step by step execution, it worked fine. And every time
    >afterwards. But it gave me the wrong answer before I do the debug. Is
    >it possible that some code gets skipped?
    >Thanks, ming
    Normally, arbitrarily skipping lines of executable code is not the
    kind of behaviour one might expect from a command processor.
    What is more likely is that you are overlooking something. Seek
    help, or help yourself more by posting your snippett here.

    Comment

    • CDMAPoster@FortuneJames.com

      #3
      Re: can any code get skipped?

      swingingming wrote:
      Hi, I made an access application. And in some cases, it gives me error.
      And when I tried step by step execution, it worked fine. And every time
      afterwards. But it gave me the wrong answer before I do the debug. Is
      it possible that some code gets skipped?
      Thanks, ming
      Getting different results when stepping through code usually indicates
      a timing problem. Rather than code getting skipped, the opposite can
      happen -- other code continues on before something gets finished.
      Stepping through code allowed whatever it was to finish before moving
      on to the next line.

      James A. Fortune
      CDMAPoster@Fort uneJames.com

      Comment

      • Ed Marzan

        #4
        Re: can any code get skipped?

        If it is a timing problem try DoEvents. Look up this keyword in Access
        Help and see if it applies to your situation.

        Good luck

        Ed Marzan

        swingingming wrote:
        Hi, I made an access application. And in some cases, it gives me error.
        And when I tried step by step execution, it worked fine. And every time
        afterwards. But it gave me the wrong answer before I do the debug. Is
        it possible that some code gets skipped?
        Thanks, ming

        Comment

        Working...