Skip to content

Instantly share code, notes, and snippets.

@jeffgabhart
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save jeffgabhart/d460cfc3d3eaaed28ac3 to your computer and use it in GitHub Desktop.

Select an option

Save jeffgabhart/d460cfc3d3eaaed28ac3 to your computer and use it in GitHub Desktop.
Visual Basic 6 Recordset Dump
'Change myRecordset to the recordset you want to dump
'Paste into Immediate
Set rec = myRecordset.Clone: rec.MoveFirst: Do Until rec.EOF: For Each f In rec.Fields: Debug.Print f.Name & " [" & f.Type & "](" & f.DefinedSize & "): " & f.Value: Next: Debug.Print "": rec.MoveNext: Loop: Set rec = Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment