Hi all,
Im trying to insert records trough an loop but it won't work.
Here is my code
Can someone help me please.
TnQ TT
Im trying to insert records trough an loop but it won't work.
Here is my code
Code:
SET RSBtkt = MyConn.execute("SELECT * FROM TABLE")
WHILE NOT RSBtkt.EOF
InsertA = "INSERT INTO Table(cell1, cell1, cell1, cell1) VALUES ('"& RSBtkt("cell1") &"','"& RSBtkt("cell2") &"','"& RSBtkt("cell3") &"','"& RSBtkt("cell4") &"')"
'Response.Write InsertA
Set DO_INSERTA = MyConn.execute(InsertA)
RSBtkt.MoveNext
WEND
Can someone help me please.
TnQ TT