Results 1 to 3 of 3

Thread: VB Code

  1. #1
    Join Date
    Sep 2005
    Posts
    313

    Unanswered: VB Code

    Hi:
    In VB code

    For i = 1 to 10
    if (isnull(rs.fields("code " & i))) then

    .............
    end if

    next i


    The rs.fields("code " & i) does't work correctly. since I add i variable. Does anybody help me to fix this problem? Thanks.

    Thanks.

  2. #2
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    Do you check your own threads?

    http://www.dbforums.com/t1191312.html
    Paul

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    if (isnull(rs.fields("code" & i))) then

    Without space after code as you wrote if (isnull(rs.fields("code " & i))) then

Posting Permissions

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