The following works for a single record;
# Insert data into columns
while cnt < rcnt:
print row[cnt]
rrow = row[cnt]
self.out.InsertStringItem(cnt, str(rrow[cnt]))
for x in range(1,nrcol,1):
self.out.SetStringItem(cnt,x,str(rrow[x]))
cnt = cnt+1
print "%d rows were returned" % rcnt
#self.out.WriteText("%d rows were returned" % rcnt)
How can I print multiple records?
···
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com