Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Query

Status
Not open for further replies.

howdie007

Programmer
Feb 3, 2003
7
US
I currently have a query thas produces data in the following format...
"12/31/2003","BF985","CDS","08/01/2003","12/31/9999","000.00","000200000.00","000000000.00"," "," Butler"," Franklin","D","R1","Others"


I would like the same to be in the following format.....

12/31/2003|BF985|CDS|08/01/2003|12/31/9999|000.00|000200000.00|000000000.00|Butler|Franklin|D|R1|Others


How can i achieve this ?

Thanks.
 
Is this the dump of the data from the query to a file or is it the way the actual fields are displayed?
 
This is the way it writes to a file

Using concatenate in the sql i have reduced it to...

"12/31/2003|BF985|CDS|08/01/2003|12/31/9999|000.00|000200000.00|000000000.00|Butler|Franklin|D|R1|Others"

Is there a way to remove the first & last quote ?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top