Results 1 to 3 of 3

Thread: ADD new fields from a loop

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,943

    ADD new fields from a loop

    I just have a table1 into c:\mydir\mymbd.mdb
    I just have 3 fields (field1, field2..)
    I need, from the loop in code, to add new fields based the var TEST

    Code:
        RIGA = 0
        While Not GAF_RS.EOF
        TEST = GAF_RS(0)
        RIGA = RIGA + 1
        GAF_RS.MoveNext
        Wend
    note:
    all fields are TEXT format and max character from var TEST is max 2

    please with vb6 code, tks.
    possible?
    Last edited by luca90; Sep 29th, 2010 at 06:23 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