joeythelips
IS-IT--Management
Hi.
I'm using the following code to save an access table as a properly formatted csv file. However when i view the csv file in UNIX, spaces are appearing between the commas.
How can i prevent this?
Print #2, Str(meterref(i)) & "," & customername(i) & "," & Str(meterno(i)) & "," & Str(meterseq(i)) & "," & Str(Multiplier(i)) & "," & Reading(i) & "," & readingtype(i) & "," & Format(readingdate(i), "dd-mmm-yy" ' put a comma here followed by eg descripion(i) etc.
I'm using the following code to save an access table as a properly formatted csv file. However when i view the csv file in UNIX, spaces are appearing between the commas.
How can i prevent this?
Print #2, Str(meterref(i)) & "," & customername(i) & "," & Str(meterno(i)) & "," & Str(meterseq(i)) & "," & Str(Multiplier(i)) & "," & Reading(i) & "," & readingtype(i) & "," & Format(readingdate(i), "dd-mmm-yy" ' put a comma here followed by eg descripion(i) etc.