Search found 832 matches

by bangkok
Wed Oct 09, 2019 3:10 am
Forum: Android Deployment
Topic: I have a bug when typing 0,35 or 0.35 in fields at Android phones
Replies: 12
Views: 250

Re: I have a bug when typing 0,35 or 0.35 in fields at Android phones

-Which field shows this weird behavior ? You have 6 fields on your card. -be more precise : when the user select field "kapmm", he types "0.35", then what is shown exactly in the field ? -no need to put the handler preOpenStack in your button script ! (it's already into your stack script) -why you s...
by bangkok
Mon Sep 23, 2019 10:44 pm
Forum: Databases
Topic: Path to database
Replies: 18
Views: 782

Re: Path to database

Let's say the file will be located in "my documents".

Code: Select all

put specialFolderPath("documents") & "/db_test.sqlite" into tDatabasePath

put revOpenDatabase("sqlite", tDatabasePath, , , , ) into tID
by bangkok
Mon Sep 09, 2019 4:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Data Grid - how to count the data per column
Replies: 13
Views: 653

Re: Data Grid - how to count the data per column

This lesson explains how to do it :

http://lessons.livecode.com/m/datagrid/ ... -to-a-cell

or the stack here (card "colors and drag drop") : DG_EXAMPLES 1.4

viewtopic.php?f=7&t=15540
by bangkok
Sun Sep 08, 2019 11:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Populating Datagrid From SQL Cursor
Replies: 3
Views: 244

Re: Populating Datagrid From SQL Cursor

Hi, 2 mistakes : - put the result into dlist (actually the data from the query are stored into ptext !) - wrong method to populate the DG (addline. Use instead dgText) So here is something that should work, more simple : put "SELECT * FROM testtable" into tSQL put revDataFromQuery(,,conID,tSQL) into...
by bangkok
Sat Jul 27, 2019 5:22 am
Forum: Android Deployment
Topic: Barcode scanner widget : very cool
Replies: 10
Views: 671

Re: Barcode scanner widget : very cool

As far as the barcode scanner goes, can you get it to change the preview size and get any different overlay views? Or disable it? These just simply do not work for me. I'm still doing tests (but it's boring : change something in the IDE, compile, copy .apk on the phone, uninstall previous version, ...
by bangkok
Sat Jul 27, 2019 3:00 am
Forum: Android Deployment
Topic: Barcode scanner widget : very cool
Replies: 10
Views: 671

Re: Barcode scanner widget : very cool

But apart from one random time when snapshot data was passed with the message, I find it impossible to test for the snapshot data, nothing is passed. Well... for that matter, I still haven't figured out what is exactly... the "snapshot mode". :D I guess with time, we shall get some kind of document...
by bangkok
Fri Jul 26, 2019 1:28 am
Forum: Android Deployment
Topic: Barcode scanner widget : very cool
Replies: 10
Views: 671

Re: Barcode scanner widget : very cool

Here is my test stack. Actually, on the area covered by the widget... you'll see your back camera working constantly (you can set up the "FPS"). The area of the widget is like... a lens. Then with your phone "target" a barcode... focus by moving back and forth your phone... LC can display a red bar ...
by bangkok
Thu Jul 25, 2019 12:32 pm
Forum: Android Deployment
Topic: Barcode scanner widget : very cool
Replies: 10
Views: 671

Barcode scanner widget : very cool

With the release of LC 9.5 rc1, the barcode library and the barcode scanner widget become part of indy licence (a wise decision from HQ). I started to try it. It's very cool ! As usual, we can regret a lack of "documentation materials" (just the dictionary actually), but very, very interesting. And ...
by bangkok
Tue Jun 25, 2019 7:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQL Statement
Replies: 4
Views: 487

Re: SQL Statement

It's becoming a real trend. All newbies got lost with the "variablesList" and "arrayName" forms, for revExecuteSQL and revQueryDatabase commands (look in the forum...) Just don't do it ! Use the classic form, which you can read, which you can "see". If you can not "see" (read) a SQL statement, then ...
by bangkok
Fri May 17, 2019 3:04 am
Forum: CGIs and the Server
Topic: Getting started on LiveCode server
Replies: 11
Views: 1339

Re: Getting started on LiveCode server

First, like Richard said : hang on. :) Like everything else, what looks kind of "blurred" now and even frustrating... eventually will appear in full light, and like a famous ancien Greek, you will shout "Eureka !". Here is a "core" for a web page that will send some data to the server. 2 ways to do ...
by bangkok
Mon May 13, 2019 12:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MY SQL Insert
Replies: 9
Views: 531

Re: MY SQL Insert

If you look at past posts, it's obvious : this syntax (variable list and array) create many problems for newbies. It's important to go step by step. Start with the SIMPLE SYNTAX , aka " i execute a query that i can read " Therefore : put "INSERT INTO PAV2_ACCOUNTS (column1,column2,column3) VALUES ('...
by bangkok
Wed May 08, 2019 10:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I debug a no-message crash to desktop?
Replies: 8
Views: 668

Re: How do I debug a no-message crash to desktop?

Yes, it crashes. LC Indy 8.1.10 and LC Indy 9.0.4 rc 2 Windows 8.1 Your code... is rather strange. What's the point to have on the card "update" a preopencard hander. And : go cd "autoreturn" and then on card "autoreturn" to have : On PreOpenCard Logevent "Always", ggLogfile, "Card AutoReturn > PreO...
by bangkok
Tue Apr 09, 2019 2:43 am
Forum: Android Deployment
Topic: Zebra barcode scanner : "Intent" output method with LC ?
Replies: 0
Views: 399

Zebra barcode scanner : "Intent" output method with LC ?

Zebra sells several Android PDAs with integrated barcode scanner (good and affordable) https://www.zebra.com/us/en/products/mobile-computers/handheld/tc20.html It has developped "Datawedge", an app to set the parameters of its barcode scanner and to set the method to send/display the data. The main ...
by bangkok
Thu Apr 04, 2019 9:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem in Querying SQLite Database
Replies: 5
Views: 625

Re: Problem in Querying SQLite Database

Add answer tQuery answer tInfo Just to be sure that's not related to the datagrid or the query. Then, if tInfo still doesn't contains what it should : put "SELECT * FROM cleDetails" into tQuery put revDataFromQuery(tab,cr,gCLE_DatabaseID,tQuery) into tInfo answer tInfo ... Just to be sure that you d...
by bangkok
Wed Mar 27, 2019 1:07 pm
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 792

Re: Communicate with a webdav server

What does your LibURL code look like? This is the header. I've tried with httpheaders and libURLSetCustomHTTPHeaders. PROPFIND HTTP/1.1 Host: myserver.com Authorization: Basic xxxxxxxxxxxxxxxxxxx Content-Type: text/xml Content-Length: 86 Depth: 1 Accept: */* <?xml version="1.0" ?> <D:propfind xmlns...

Go to advanced search