Search found 925 matches

by bangkok
Tue Nov 17, 2020 2:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
Replies: 11
Views: 714

Re: Using a text field with date formated content in a WHERE clause of a SELECT statement

Hope this gives you what you need. Actually... no. Why do you have a Datagrid which is populated behind ? How do you get such a listing ? I see that you have 2 columns : game date and game time. Futhermore what means " doesn't work " ? Do you receive an error message ? Or do you receive an empty re...
by bangkok
Tue Nov 17, 2020 12:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
Replies: 11
Views: 714

Re: Using a text field with date formated content in a WHERE clause of a SELECT statement

I hope this makes more sense. No it doesn't. ;-) Anyway, the error now is obvious put "11/22/2020" into gtGameDayDate You use gtGameDayDate in a SQL query. It can't work. SQL use YYYY-MM-DD format. put "11/22/2020" into gtGameDayDate should be put "2020-11-22" into gtGameDayDate But you're still no...
by bangkok
Sun Nov 15, 2020 1:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a text field with date formated content in a WHERE clause of a SELECT statement
Replies: 11
Views: 714

Re: Using a text field with date formated content in a WHERE clause of a SELECT statement

Very confusing.

Thank you to give us the content of... tSQL

That's the only way to see the issue (in your code, we see nothing... for instance, what do you put into gtGameDayDate ?)

We need to see the SQL query, created by your code.
by bangkok
Wed Oct 07, 2020 12:06 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Substacks on top
Replies: 9
Views: 856

Re: Substacks on top

you should try "as modal"

Code: Select all

go stack "myStack" as modal

http://lessons.livecode.com/m/4071/l/11 ... dal-dialog
by bangkok
Sun Oct 04, 2020 4:36 pm
Forum: Databases
Topic: searching for "todo" in SQLite field fails
Replies: 6
Views: 1389

Re: searching for "todo" in SQLite field fails

Sure. Send the database so we can look at its structure.

And what about the queries you're trying ? What are they ? We need them too.

How did you write the data into the db ? With an editor ? By queries ?
by bangkok
Sun Sep 20, 2020 4:07 pm
Forum: CGIs and the Server
Topic: livecode server return json
Replies: 4
Views: 1038

Re: livecode server return json

klamp wrote:
Sun Sep 20, 2020 11:17 am
is there any tutorial to convert tDaya to array?
Before to try to convert things, you need first to really understand what are arrays...

Here is a good intro :

http://livecode.byu.edu/arrays/introToArrays.php
by bangkok
Fri Sep 18, 2020 10:20 am
Forum: LiveCode Hosting
Topic: using set cookie
Replies: 4
Views: 392

Re: using set cookie

I have tried to put my Cookie coding at the top of my file with no luck. I do not have an ../includes/ folder on my system. Is that part of some extra install process? No it was just to show you what can be done. So, I guess your problem comes from the script that writes/creates the cookie. You nee...
by bangkok
Thu Sep 17, 2020 4:22 pm
Forum: LiveCode Hosting
Topic: using set cookie
Replies: 4
Views: 392

Re: using set cookie

You need to use cookies functions before... anything else. ;-) At the top of your .lc file. Example : <?lc set the errorMode to "inline" put $_COOKIE into tCookie put tCookie["myCookie1"] into tCookie if tCookie is empty then put new header "Location: index.lc?C=1" put "Sorry..." quit end if put cha...
by bangkok
Thu Sep 10, 2020 10:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android Event Listener v1.0.0 - find out when your app is put in the background!
Replies: 15
Views: 1411

Re: Android Event Listener v1.0.0 - find out when your app is put in the background!

Well after a few tests (Android 7)... it works perfectly. One thing I didn't realize. If for instance I put an answer "paused" and answer "resumed" into the handlers.... the "paused" is fired, but of course not the "resumed" (because the screen displays the "paused"). Anyway, thanks again ! I'm sure...
by bangkok
Thu Sep 10, 2020 10:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android Event Listener v1.0.0 - find out when your app is put in the background!
Replies: 15
Views: 1411

Re: Android Event Listener v1.0.0 - find out when your app is put in the background!

Hey mister Opaquer !

This is totally.... great !

No seriously.

I'm going to try it.

Do you have any plan for other Android extensions ?

Thanks again.
by bangkok
Tue Sep 01, 2020 9:49 am
Forum: Android Deployment
Topic: Clearing Text From An Android Native Edit Field (Widget)
Replies: 1
Views: 352

Re: Clearing Text From An Android Native Edit Field (Widget)

Code: Select all

set the text of widget "SendEdit" to empty
by bangkok
Sun Aug 30, 2020 10:12 am
Forum: Version Control
Topic: Opening a version 8 stack in LiveCode 9
Replies: 21
Views: 3885

Re: Opening a version 8 stack in LiveCode 9

Technically the openstack and preopenstack handlers should be in the script of the first card in the stack That might just explain why, for years, I've had problems when I've put these in the stackScript . That's what i love with such a forum ! Even as an"old timer" it's possible to learn something...
by bangkok
Sat Aug 29, 2020 12:14 am
Forum: Version Control
Topic: Opening a version 8 stack in LiveCode 9
Replies: 21
Views: 3885

Re: Opening a version 8 stack in LiveCode 9

Very strange. And never experienced that ! You need to follow a process : -give us details about your OS, which LC version do you use (9) and the same for your "old" LC (8) -try to reproduce the problem with a sample stack that you can send us after so people can have a look -and/or fill in directly...
by bangkok
Tue Aug 25, 2020 11:32 am
Forum: Off-Topic
Topic: What Users want from the next version of LiveCode
Replies: 17
Views: 2433

Re: What Users want from the next version of LiveCode

Revamped database connexion system. We seriously need that ! No evolution (with the exception of support of new version of SQLite) since ages. Revamped printing system. The weak point of LC (i mean the differences between "display" and "print" on Windows is really 20th century....) If we get those 2...

Go to advanced search