Re: Re: setting itemdel

2011-08-05 Thread Alain Farmer
To: metacard@lists.runrev.com Sent: Sunday, May 8, 2011 1:14:19 PM Subject: RE: Re: setting itemdel A regex would certainly be better. As it requires a degree of coding proficiency that was not evident when the question was initially raised, I provided a solution to suit. Would you like to give us

Re: setting itemdel

2011-05-08 Thread Eva Isotalo
Thank you! Seems to work now. :) Eva ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard

RE: Re: setting itemdel

2011-05-08 Thread Alain Farmer
Best solution for this would be a GREP pattern. :) Example: .*([0-9]+).* PS: use metacard's replaceText syntax. Al replace (Size: 100ml; ) with 100 in fld Product But you have different 'size' values. This removes the non-numeric characters...   set the itemDel to TAB   repeat

RE: Re: setting itemdel

2011-05-08 Thread FlexibleLearning
A regex would certainly be better. As it requires a degree of coding proficiency that was not evident when the question was initially raised, I provided a solution to suit. Would you like to give us your matchtext solution rather than a copied generic? Hugh Senior FLCo Alain Farmer wrote:

Re: setting itemdel

2011-05-07 Thread Mark Schonewille
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

Re: setting itemdel

2011-05-07 Thread Michael Kann
: Mark Schonewille m.schonewi...@economy-x-talk.com Subject: Re: setting itemdel To: Discussions on Metacard metacard@lists.runrev.com Date: Saturday, May 7, 2011, 9:06 AM 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

Re: setting itemdel

2011-05-07 Thread Michael Kann
-talk.com wrote: From: Mark Schonewille m.schonewi...@economy-x-talk.com Subject: Re: setting itemdel To: Discussions on Metacard metacard@lists.runrev.com Date: Saturday, May 7, 2011, 9:06 AM 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

Re: setting itemdel

2011-05-07 Thread Eva Isotalo
: setting itemdel To: Discussions on Metacard metacard@lists.runrev.com Date: Saturday, May 7, 2011, 9:06 AM 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

Re: setting itemdel

2011-05-07 Thread Eva Isotalo
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

Re: setting itemdel

2011-05-07 Thread Eva Isotalo
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; )

Re: setting itemdel

2011-05-07 Thread Michael Kann
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

RE: Re: setting itemdel

2011-05-07 Thread FlexibleLearning
Eva replace (Size: 100ml; ) with 100 in fld Product But you have different 'size' values. This removes the non-numeric characters... set the itemDel to TAB repeat with n=1 to num of lines of fld Product replace (Size: with in item 2 of line n of fld Product replace ml;) with