records and fileds

ringworm
10-25-2004, 03:21 AM
Using ADO recordset with the currently selected record how can I find out how many fields there are and how to loop through these fields retrieving the values

Shurik12
10-25-2004, 03:28 AM
For i=0 to rs.Fields.Count-1
MsgBox rs.Fields(i).Value
Next

ringworm
10-25-2004, 03:46 AM
Thanks thats great

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum