Results 1 to 3 of 3

Thread: Labels inside Loop - correct syntax? _ RESOLVED

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2002
    Posts
    24

    Labels inside Loop - correct syntax? _ RESOLVED

    I need some help with the correct syntax.
    I have a form with ten labels, lbl1 - lbl10.

    I need to get ten records from a database and display each record in a label. I'm not sure of the correct way to do this.
    Thanks

    - - - - - -

    for i = 1 to 10

    Lbl "(i)" = rs("word")

    if not recordsetObject.EOF then
    RecordsetObject.movenext

    Else
    Exit For
    End if
    Next
    Last edited by pounce; Nov 19th, 2002 at 12:19 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width