Search found 35 matches

by mister
Mon Jan 20, 2020 8:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Hi Klauss,

I'll be dammed, i proofed that many times and didn't catch it. :oops:
Although, someone wants to see what I'm building, I need to slow down!

Your the best! Thanks

Larry
by mister
Mon Jan 20, 2020 7:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Hi Klaus, on mouseUp set the itemDel to tab put fld "a1" into tData put fld"a2" into tData2 put empty into tData3 repeat with x = 1 to the number of lines in tData put line x of tData & tab & item 2 of line x of tData2 & tab & item 3 of line x of tData2 & CR after tData3 delete char -1 of tData3 put...
by mister
Mon Jan 20, 2020 7:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Klaus,

Sorry to bother you and I have tried some fixes, but the cr is not working. The text is all on the first line.

Thanks,
Larry
by mister
Mon Jan 20, 2020 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Hi Klaus, Klaus said, Whatever, you want to do something like this: line 1 of fld "a1" and item 2 of line 1 of fld "a2" and item 3 of line 1 of fld "a2" -> line 1 of fld "b1" etc. for all other lines... Is that what you are trying to do? Yes, disregarding my original code, i put this into the button...
by mister
Sun Jan 19, 2020 7:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Kaveh,

'i guess i got excited that a simple repeat loop worked that i over looked the fact that i only wanted field a1 and item 2 and item 3 of field "a2" into field b1. Sorry to jump the gun. i'll keep working on it.

Keep helping where and when you can!

Larry
by mister
Sun Jan 19, 2020 6:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Kaveh,

Thank you!

i never tried using "whole lines" before, always item 1 of line x .....etc. So simple, yet i went around the world to try and figure it out. :shock:
Larry
by mister
Sun Jan 19, 2020 6:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

Re: combine two fields

Hi Kaveh, I always over complicate things :) and yes, i want the contents of field 2 after the contents of field 1. I tried many repeat loops (not familiar enough with "nested or next") before jumping over to the "How to Lessons on Arrays". If a repeat loop or anything else works, I'm all ears. Here...
by mister
Sat Jan 18, 2020 10:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine two fields
Replies: 19
Views: 14734

combine two fields

I'm going to try and give it another shot. I've not used LiveCode since 2017. Back to beginner status. Already stumped. In a test field, I'm trying to merge two fields into one using an array with split and combine. Field a1 contains - dog > mouse > toad Field a2 contains - cat > no.1 > 10 >=tab glo...
by mister
Sun Mar 18, 2018 8:31 pm
Forum: Databases
Topic: Can't install livecode server on xampp
Replies: 4
Views: 6726

Re: Can't install livecode server on xampp

ghettocottage, Thanks for the reply, i looked and there is a folder called "modules" which contain those. i assume that Apache can access them. i almost had the program work. The html almost always shows up, but one time the livecode output showed without the html text.Go figure! i've Googled for an...
by mister
Sat Mar 17, 2018 9:42 pm
Forum: Databases
Topic: Can't install livecode server on xampp
Replies: 4
Views: 6726

Can't install livecode server on xampp

i've been trying make Livecode server work with XAMPP 2.24 using the "latest" httpd.conf file on macOSX El Capitan using Livecode 8.13 with server 8.13. Yes, i have permissions. i've tried everything i could think of; i put the Add Handler inside the directory and outside it, etc i used an older liv...
by mister
Mon Oct 02, 2017 7:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine a field from a sub stack
Replies: 2
Views: 2742

Re: combine a field from a sub stack

Klaus, Obviously, i like to over complicate things, plus I left out some vital information. First of all, this should probably be in a database. I'm just trying to avoid doing that or just map it out beforehand. Field "noteText" is a question and answer form that will eventually come from a website ...
by mister
Fri Sep 29, 2017 8:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: combine a field from a sub stack
Replies: 2
Views: 2742

combine a field from a sub stack

It's been a many, many months since I've worked with livecode due to work etc. So i'm back to beginner status and i can't believe i have to ask this question. Anyway, I'm trying to combine 2 fields with this save command. it's a knockoff of the notes app ( 8.0 +) where the highlited line of the note...
by mister
Sun Sep 18, 2016 1:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: probably another simple answer
Replies: 3
Views: 3334

Re: probably another simple answer

Argggggggh!! I knew it should be simple. turns out it is, but the hundreds of different ways i tried to fix it, waiting for minutes to tick off. So, in case anyone wants to know the answer. global gStarts, local aTime on mouseDown put the time into sTime convert sTime to seconds put sTime - gStarts ...
by mister
Fri Sep 16, 2016 1:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: probably another simple answer
Replies: 3
Views: 3334

Re: probably another simple answer

Craig Thanks for the response, but i've been busy at work and still trying to figure this out on my own. Yes, gStart is a global variable. The time(converted to seconds) is placed in the variable gStart on openCard. What i've already posted works fine. it just keeps subtracting from gStart. i need i...
by mister
Sat Sep 10, 2016 10:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: probably another simple answer
Replies: 3
Views: 3334

probably another simple answer

Hello, This is basically a timer, which i didn't know Livecode had "built in" ones until well into my project. Regardless, gStart comes from the openCard script. This code is in a button called "time2". The problem is that each time "button time2" is pushed the time is subtracted from the gStart. Th...