Thanks guys,
I appreciated every answer, I don't want to use the
put "select ................................" into tSmething
put "from ............................." after tSomething
way because it turns in a lot of code for big querys, only break the line with "&/" will be better for less ...
Search found 6 matches
- Wed Jun 19, 2013 7:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Multiple lines text in editor
- Replies: 4
- Views: 4498
- Wed Jun 19, 2013 7:32 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: get data from database in array
- Replies: 5
- Views: 6012
Re: get data from database in array
Thanks for all answers
Split looks great, but may it can create only single dimensional array.
So, if I want a multiple dimensional array, something like
answer myArray[1]["name"]
and it shows to me "James" for example
even something like myArray[1][1]
Why did you use "tWord" in the for each ...
Split looks great, but may it can create only single dimensional array.
So, if I want a multiple dimensional array, something like
answer myArray[1]["name"]
and it shows to me "James" for example
even something like myArray[1][1]
Why did you use "tWord" in the for each ...
- Wed Jun 19, 2013 3:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: get data from database in array
- Replies: 5
- Views: 6012
get data from database in array
Hello guys,
I'm trying to learn how to use database in livecode properly... When I do a select query like this:
put revDataFromQuery(,,gConnectionID,gQuery) into qResult
Ex. in a query like: "select id, name, email"
I receive the data like a String: "1 myName myEmail"
So, is hard to separate ...
I'm trying to learn how to use database in livecode properly... When I do a select query like this:
put revDataFromQuery(,,gConnectionID,gQuery) into qResult
Ex. in a query like: "select id, name, email"
I receive the data like a String: "1 myName myEmail"
So, is hard to separate ...
- Wed Jun 19, 2013 2:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Multiple lines text in editor
- Replies: 4
- Views: 4498
Multiple lines text in editor
Hello guys,
I'm very beginner in LiveCode, I would like to code using multiple lines in the code editor, like in the image.
My "account does not have permission" to post link so I attach the image.
Have anyway I can do like that? To write long querys is very bad to use a single line, you know ...
I'm very beginner in LiveCode, I would like to code using multiple lines in the code editor, like in the image.
My "account does not have permission" to post link so I attach the image.
Have anyway I can do like that? To write long querys is very bad to use a single line, you know ...
- Thu Sep 27, 2012 9:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problem with shell and ping
- Replies: 7
- Views: 5290
Re: Problem with shell and ping
You're completely right sturgis!
The full path is "C:\Windows\System32\ping", now it works great!
mwieder, my desktop OS is Windows 7 and my netbook OS is openSUSE, in windows and linux the default count parameter is 4, unlike to the infinity loop on Mac OS X, and others apple's OS (I think ...
The full path is "C:\Windows\System32\ping", now it works great!
mwieder, my desktop OS is Windows 7 and my netbook OS is openSUSE, in windows and linux the default count parameter is 4, unlike to the infinity loop on Mac OS X, and others apple's OS (I think ...
- Thu Sep 27, 2012 5:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problem with shell and ping
- Replies: 7
- Views: 5290
Problem with shell and ping
Hello guys,
I'm trying to use the "ping" command in the shell, but it don't work. =/
When I try
answer shell("ping 192.168.1.1")
--or
put shell("ping " & destino & pacotes & buffer) into field "Console"
imageshack.us/a/img27/4523/pingfail.jpg (my account can't post links or references =/)
"Ping ...
I'm trying to use the "ping" command in the shell, but it don't work. =/
When I try
answer shell("ping 192.168.1.1")
--or
put shell("ping " & destino & pacotes & buffer) into field "Console"
imageshack.us/a/img27/4523/pingfail.jpg (my account can't post links or references =/)
"Ping ...