MC 2.4.3
How do I catch the different parts of a file that has columns like this?:
1 Rose Floral Wax: (Size: 25g; ) FW07-25 £3.65 £3.65
1 Jasmine Grandaflorum Floral Wax (Size: 25g; ) FW03-25 £2.95
£2.95
1 Mimosa Floral Wax (Size: 25g; ) FW05-25
Hi Eva,
I'm not sure what you are having problems with, but if you want to get the
items of a line, you need to set the itemdel to tab.
set the itemDel to tab
put item 2 of line 3 of myData into fld Product
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Eva and Mark,
Here's a quirk way to group the products:
set the itemDel to tab
put fld 1 into v --- list of invoices
sort lines of v by item 2 of each
put v into fld 2 -- products will be grouped together
--- On Sat, 5/7/11, Mark Schonewille m.schonewi...@economy-x-talk.com wrote:
From:
Eva,
I just realized you posted on the metacard list. You might want to also check
out the
LiveCode list also. It is the more recent version of the metacard list.
Here it is:
How to use LiveCode use-livec...@lists.runrev.com
--- On Sat, 5/7/11, Mark Schonewille
Thank you guys!
I had placed the itemdel 'tab' in quotes, that's why it didn't work. Sigh...
Works fine now.
And thanks for the great quirky suggestion. :)
Eva
On 2011-05-07 16:44, Michael Kann wrote:
Eva,
I just realized you posted on the metacard list. You might want to
also check out the
Ok, a continuation. On lines like the following I'd like to be able to
catch and delete the '(Size: 100ml;)' but keep the '100'. How would I go
about doing this?
1 Benzoin (Mobile) Siam (Size: 100ml; ) EO16-100 £7.55
Eva
On 2011-05-07 16:06, Mark Schonewille wrote:
Hi Eva,
I'm
Solved it. Not pretty but works. :)
Eva
On 2011-05-07 18:38, Eva Isotalo wrote:
Ok, a continuation. On lines like the following I'd like to be able to
catch and delete the '(Size: 100ml;)' but keep the '100'. How would I
go about doing this?
1 Benzoin (Mobile) Siam (Size: 100ml; )
Eva, I meant to type quick, but quirky would probably best describe my
programming suggestions. Don't hesitate to ask if you need some fresh eyes to
help out.
--- On Sat, 5/7/11, Eva Isotalo eva.isot...@gmail.com wrote:
From: Eva Isotalo eva.isot...@gmail.com
Subject: Re: setting itemdel
To:
@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.runrev.com/pipermail/metacard/attachments/20110507/e7a7acc5/at
tachment-0001.html