Results 1 to 2 of 2

Thread: [RESOLVED] rewriting recordset name field

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    617

    Resolved [RESOLVED] rewriting recordset name field

    having these fields

    print rs!address1
    print rs!address2
    print rs!address3

    i want to loop through to the NAME FIELD (not FIELD INDEX)

    for i=1 to 3
    print rs!address & i
    next

    but the compiler returns that rs!address & i is no where to found in the recordset collection.

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    617

    Re: rewriting recordset name field

    opps i figure it out:

    for i=1 to 3
    print rs("address" & i)
    next

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