Function TSV(rs) Dim field For Each field In rs.Fields TSV = TSV & field.Name & VBTab Next TSV = Left(TSV, Len(TSV) - 1) & vbCr & rs.GetString() End Function
The rows are separated by vbCr ("\r" in most languages).
The first row is the field names.
11388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Function TSV(rs) Dim field For Each field In rs.Fields TSV = TSV & field.Name & VBTab Next TSV = Left(TSV, Len(TSV) - 1) & vbCr & rs.GetString() End Function
You need to create an account or log in to post comments to this site.