Re: tableField . . . refering to columns

2016-11-04 Thread Bob Sneidar
Agreed Peter. The beauty of LC is the ability to piece together things to create a more functional whole. At some point we are just asking the devs to do all our coding for us. Bob S > On Nov 4, 2016, at 10:05 , Peter M.Brigham wrote: > > On Nov 3, 2016, at 3:15 PM, Roger Eller wrote: >>

Re: tableField . . . refering to columns

2016-11-04 Thread Peter M . Brigham
On Nov 3, 2016, at 3:15 PM, Roger Eller wrote: > > on mouseUp > set the itemDelimiter to "^" > put line 1 of fld "fPRE" into PREE1 > put item 1 of PREE1 into tJustTheItem > set the itemDeliniter to TAB > put tJustTheItem into item 1 of line 1 of fld "fTF" > end mouseUp It’s pretty easy

Re: tableField . . . refering to columns

2016-11-04 Thread Richmond
http://forums.livecode.com/viewtopic.php?f=6&t=28257 Feature request. Richmond. On 3.11.2016 22:43, Bob Sneidar wrote: Oh crap yeah I don't think a field has a "column" property. Boy it would be nice if it did! Bob S On Nov 3, 2016, at 13:14 , Randy Hengst mailto:iowahen...@mac.com>> wrot

Re: tableField . . . refering to columns

2016-11-03 Thread Bob Sneidar
Did explicit variables get turned on? I have had my explicit variables turned on without my assistance 3 times in the last 2 days. LC 8.1.1 Bob S > On Nov 3, 2016, at 13:14 , Randy Hengst wrote: > > What is “column 1” in your mouseUp handler? As far as I know that doesn’t > refer to a reserv

Re: tableField . . . refering to columns

2016-11-03 Thread Mike Bonner
The why has been covered.. no "column" delimiter, and the fact that.. if it were to actually work, putting item 1 of your sample data into item 1 of the field should put the item separated by the specified item delimiter.. so there would be no change. (unless as above you use 2 delimiters Meaning

Re: tableField . . . refering to columns

2016-11-03 Thread dunbarx
Richmond. Is "column" a native word in, what I assume you are using, v8? It is not in v6. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/tableField-refering-to-columns-tp4710016p4710025.html Sent from the Revolution - User mailing list

Re: tableField . . . refering to columns

2016-11-03 Thread Bob Sneidar
Oh crap yeah I don't think a field has a "column" property. Boy it would be nice if it did! Bob S On Nov 3, 2016, at 13:14 , Randy Hengst mailto:iowahen...@mac.com>> wrote: put item 1 of PREE1 into column 1 of line 1 of fld "fTF" end mouseUp line 1 if fld "fPRE" contains this "2^45^9^1113"

Re: tableField . . . refering to columns

2016-11-03 Thread Randy Hengst
What is “column 1” in your mouseUp handler? As far as I know that doesn’t refer to a reserved word in LC… so that will cause a bump in the code. What do you get if you replace that line of code with: answer item 1 of PREE1 be well, randy > On Nov 3, 2016, at 1:54 PM, Richmond wrote: > > So:

Re: tableField . . . refering to columns

2016-11-03 Thread Roger Eller
Correction: You can't use 2 different item delimiters in the same command. on mouseUp set the itemDelimiter to "^" put line 1 of fld "fPRE" into PREE1 put item 1 of PREE1 into tJustTheItem set the itemDeliniter to TAB put tJustTheItem into item 1 of line 1 of fld "fTF" end mouseUp

Re: tableField . . . refering to columns

2016-11-03 Thread Roger Eller
A regular table field is TAB delimited. Also, refer to your "column" as "item". Try this: on mouseUp set the itemDelimiter to "^" put line 1 of fld "fPRE" into PREE1 set the itemDeliniter to TAB put item 1 of PREE1 into item 1 of line 1 of fld "fTF" end mouseUp ~Roger On Thu, Nov

tableField . . . refering to columns

2016-11-03 Thread Richmond
So: I have a "^" delimited textFile (.CSV) that I imported into a conventional textField ("fPRE") and then tried to do this: on mouseUp set the itemDelimiter to "^" put line 1 of fld "fPRE" into PREE1 put item 1 of PREE1 into column 1 of line 1 of fld "fTF" end mouseUp line 1 if fld "f