Need to parse text using chunks and tokens (??)

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Re: Need to parse text using chunks and tokens [SOLVED]

Post by karmacomposer » Mon Aug 25, 2014 10:14 pm

Very serious "Duh" here.

Thanks. That worked.

Now that all of that is done, I need to output all the data to a DataGrid control - before I was using text and multi-line fields.

Mike
Last edited by karmacomposer on Sun Sep 07, 2014 2:40 am, edited 1 time in total.

karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Re: Need to parse text using chunks and tokens (??)

Post by karmacomposer » Tue Aug 26, 2014 1:14 am

Next question - I am SO CLOSE to getting this right!

So I am using a Data Grid control. I created columns and the 1st column is the sales date.
I capture the date into the variable tSaleDate. datePurchase is the column name of the data grid
named dgItems.

Code: Select all

set the dgText [datePurchase] of group "dgItems" to tSaleDate
This is not working - is it cut and dry or is using the Data Grid much more complex.

I have read ALL the instructions on the Data Grid control, plus searched for answers and I just cannot
find how to take the data from the arrays and put them into the Data Grid columns.

Thank you for helping. I am actually learning as I go - all of your help has been immensely useful.

Mike

karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Re: Need to parse text using chunks and tokens (??)

Post by karmacomposer » Sun Sep 07, 2014 2:41 am

The code is now working. Thank you everyone, especially Klaus, for all of your help.

Mike

Post Reply