Dear All!

I have RTF formatted data stored in the database as varbinary(max). I want to retrieve all data and store it in word document using while loop. However, the first record is correctly retrieved while the rest are ignored. I have queried other non-binary fields and they are correctly display in the output document. Please check my codes and suggest necessary correction...
my code is hereunder:

Code:
Dim Path
...