Hi,
I have some comma delimeted text files from which I need to run various queries. My only problem is that they don't have the field names on the first line!
I've checked the CF documentation which suggested something like this:
<CFHTTP METHOD="Get"
URL=" NAME="juneorders"
COLUMNS="ID, Number,Date"
DELIMITER=","
TEXTQUALIFIER="""">
<CFOUTPUT QUERY="juneorders">
Order ID: #ID#<BR>
Order Number: #Number#<BR>
Order Date: #Date#<BR>
</CFOUTPUT>
I've used the model shown above and produced the output from the query - without the first line of data!
Can anyone please suggest how I could overcome this? [sig]<p>Peter Toby<br><a href=mailto:webmaster@petertoby.com.au>webmaster@petertoby.com.au</a><br><a href= site is under construction but getting better![/sig]
I have some comma delimeted text files from which I need to run various queries. My only problem is that they don't have the field names on the first line!
I've checked the CF documentation which suggested something like this:
<CFHTTP METHOD="Get"
URL=" NAME="juneorders"
COLUMNS="ID, Number,Date"
DELIMITER=","
TEXTQUALIFIER="""">
<CFOUTPUT QUERY="juneorders">
Order ID: #ID#<BR>
Order Number: #Number#<BR>
Order Date: #Date#<BR>
</CFOUTPUT>
I've used the model shown above and produced the output from the query - without the first line of data!
Can anyone please suggest how I could overcome this? [sig]<p>Peter Toby<br><a href=mailto:webmaster@petertoby.com.au>webmaster@petertoby.com.au</a><br><a href= site is under construction but getting better![/sig]