G
Guest
I need to export data in an access table to a text file with strict fixed
width parameters...but I have no idea how to do this.
I need to export the data in tblUpload to a file named TMIMPORT.REC (save as
type must be "All Files" as opposed to .txt or .xls) so that the file looks
as such
(must be fixed widths)
Field 1 (not in Access table), Length 1, Value "D"
Field 2 (in Access table), Length 4, Value is going to be 1 through 9 but
the text file must display it as "0001" or "0007", etc.
Field 3 (in Access table), Length 15, Value is free text.
Field 4 (in Access table), Length 26, Value is free text
Field 5 (in Access table), Length 11, Value is text
Field 6 (In Access table), Length 30, Value is numeric
Field 7 (not in Access table), Lenght 2, Value is "rs"
The file has to be just so either the program doing the upload/updating will
error out. (I am uploading a text file into another program to update that
programs files)
I would appreciate any help on how to get this accomplished.
TIA
width parameters...but I have no idea how to do this.
I need to export the data in tblUpload to a file named TMIMPORT.REC (save as
type must be "All Files" as opposed to .txt or .xls) so that the file looks
as such
(must be fixed widths)
Field 1 (not in Access table), Length 1, Value "D"
Field 2 (in Access table), Length 4, Value is going to be 1 through 9 but
the text file must display it as "0001" or "0007", etc.
Field 3 (in Access table), Length 15, Value is free text.
Field 4 (in Access table), Length 26, Value is free text
Field 5 (in Access table), Length 11, Value is text
Field 6 (In Access table), Length 30, Value is numeric
Field 7 (not in Access table), Lenght 2, Value is "rs"
The file has to be just so either the program doing the upload/updating will
error out. (I am uploading a text file into another program to update that
programs files)
I would appreciate any help on how to get this accomplished.
TIA