Search found 830 matches

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: 526

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: 195

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: 597

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: 597

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: 597

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: 597

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: 442

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: 1229

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: 480

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: 620

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: 372

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: 577

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: 710

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...
by bangkok
Wed Mar 27, 2019 8:48 am
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 710

Re: Communicate with a webdav server

After hours of tests... I start to think that LC classic internet functions do not support the PROPFIND method ! Even by playing with httpheaders and libURLSetCustomHTTPHeaders. I managed to get something working only by using tsNet : tsNetCustomSync (but it's available only in Indy edition). put tr...
by bangkok
Mon Mar 25, 2019 11:17 am
Forum: Internet
Topic: Communicate with a webdav server
Replies: 7
Views: 710

Re: Communicate with a webdav server

I haven't used WebDAV from LC yet, but I'll need to in the coming months. What header fields do you need to set? Perhaps I can put that into an example for both of us. First a simple PROPFIND would do (depth 0), in order to list all the files at root directory, with all their properties (the idea i...

Go to advanced search