Martin, 

Here's my guess as to what is happening. On the web page you need a "<br>" to 
start a new line. Perhaps the return that you appended to your data is not 
getting translated into a "<br>" before it is put onto the web page.

Mike


--- On Mon, 4/2/12, Martin Koob <mk...@rogers.com> wrote:

From: Martin Koob <mk...@rogers.com>
Subject: [on-rev]Line endings for a db query
To: use-revolut...@lists.runrev.com
Date: Monday, April 2, 2012, 8:47 AM

I have a script that is a repeat loop that gets the results of a database
query which has a number of lines and puts it after a variable tSamplelist. 
I then use that variable tSampleList to display data on the webpage by
iterating through the lines in the variable.  

However for each iteration of the original repeat loop the first line of
data from the next query is appended to the last line of the tSamplelist and
not put on a new line.  I tried adding a return after each query but that
creates a new blank line.   Is there a character I can add after the query
that will end the line so the next query will be added on a new line?

Thanks.

Martin

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/on-rev-Line-endings-for-a-db-query-tp4526068p4526068.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to