J
Jay
Thanks in Advance
Below is my small procedure that runs a query named as "Test" and puts the
query result into a destination path with a date appeneded at the end of file
named asTimeStamp. The output has unnecessary lines and unwanted headings,
shown below.
------------------------------------------------------------------
Code | Start Time | Duration |
-----------------------------------------------------------------------
| 00 | 0805 | 0857 |
-----------------------------------------------------------------------
| 00 | 0818 | 0858 |
-----------------------------------------------------------------------
(Help) How can I delete headings and unnecessary lines with only comma as a
record delimiter.
In short, I want to achieve the following format.
00,0805,0857
00,0818,0858
(Code)
Dim Qry_Regular As String
Dim Path As String
Qry_Regular = "Test"
Path = "C:\\...\TimeStamp" & Format(Date, "mmm-dd-yyyy") & ".txt"
DoCmd.OutputTo acOutputQuery, Qry_CPLYT_Regular, acFormatTXT, Path
Below is my small procedure that runs a query named as "Test" and puts the
query result into a destination path with a date appeneded at the end of file
named asTimeStamp. The output has unnecessary lines and unwanted headings,
shown below.
------------------------------------------------------------------
Code | Start Time | Duration |
-----------------------------------------------------------------------
| 00 | 0805 | 0857 |
-----------------------------------------------------------------------
| 00 | 0818 | 0858 |
-----------------------------------------------------------------------
(Help) How can I delete headings and unnecessary lines with only comma as a
record delimiter.
In short, I want to achieve the following format.
00,0805,0857
00,0818,0858
(Code)
Dim Qry_Regular As String
Dim Path As String
Qry_Regular = "Test"
Path = "C:\\...\TimeStamp" & Format(Date, "mmm-dd-yyyy") & ".txt"
DoCmd.OutputTo acOutputQuery, Qry_CPLYT_Regular, acFormatTXT, Path