movenext command is not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • indhu
    New Member
    • Oct 2006
    • 140

    movenext command is not working

    hi all

    move next command is not working
    Code:
    Private Sub cmdNext_Click()
     
          If storyboard.BOF Then Exit Sub
         MsgBox " records exist"
               storyboard.MoveFirst
         MsgBox "Records not exist"
    
         Call navigation
    
    End Sub
    help me
  • willakawill
    Top Contributor
    • Oct 2006
    • 1646

    #2
    Originally posted by indhu
    hi all

    move next command is not working
    Code:
    Private Sub cmdNext_Click()
     
          If storyboard.BOF Then Exit Sub
         MsgBox " records exist"
               storyboard.MoveFirst
         MsgBox "Records not exist"
    
         Call navigation
    
    End Sub
    help me
    What is it that does not work?

    Comment

    • indhu
      New Member
      • Oct 2006
      • 140

      #3
      Originally posted by willakawill
      What is it that does not work?

      its not giving any error. simply displays the msgbox "record exist and "not exist"
      not moving to next recordset.

      Comment

      • hariharanmca
        Top Contributor
        • Dec 2006
        • 1977

        #4
        Originally posted by indhu
        its not giving any error. simply displays the msgbox "record exist and "not exist"
        not moving to next recordset.
        If storyboard.BOF Then Exit Sub
        MsgBox " records exist"
        storyboard.Move First
        MsgBox "Records not exist"

        Call navigation

        You are not using any Else and Move Next statement

        Comment

        • willakawill
          Top Contributor
          • Oct 2006
          • 1646

          #5
          Originally posted by indhu
          its not giving any error. simply displays the msgbox "record exist and "not exist"
          not moving to next recordset.
          And at what point in this code are you asking the recordset to move to the next record?

          Comment

          • indhu
            New Member
            • Oct 2006
            • 140

            #6
            Originally posted by willakawill
            And at what point in this code are you asking the recordset to move to the next record?
            If particular sceneid has more panel then it has to movenext.

            Comment

            Working...