This is more of a general question...
What would be a good way to handle data to be exported to a text file? I often need to create a procedure that exports records into a specified format(fixed lenghts, decimals, padding zeroes etc.) Now I always write specific code to go trough every record and format it the way I want before writing to the textfile.
What I'm looking for is the shortest way from a recordset to a exported textfile in a specified format.
Any help is much appreciated.
Mats
What would be a good way to handle data to be exported to a text file? I often need to create a procedure that exports records into a specified format(fixed lenghts, decimals, padding zeroes etc.) Now I always write specific code to go trough every record and format it the way I want before writing to the textfile.
What I'm looking for is the shortest way from a recordset to a exported textfile in a specified format.
Any help is much appreciated.
Mats