Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 741
» Latest member: alexanderlewis
» Forum threads: 1,176
» Forum posts: 2,010

Full Statistics

Online Users
There are currently 190 online users.
» 0 Member(s) | 187 Guest(s)
Baidu, Bing, Facebook

Latest Threads
Step Up to the Plate: How...
Forum: Getting Started
Last Post: Innocent Sozonov
11-27-2026, 05:33 PM
» Replies: 0
» Views: 90
Understanding the Physics...
Forum: General
Last Post: rodeoneerer
11-27-2026, 03:02 AM
» Replies: 0
» Views: 108
Escaping Granny's Grasp: ...
Forum: General
Last Post: Anfisa Seleznyova
11-23-2026, 02:02 AM
» Replies: 0
» Views: 144
Olive Young Promo Code [G...
Forum: General
Last Post: yanarip357
11-19-2026, 05:32 PM
» Replies: 0
» Views: 154
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:31 PM
» Replies: 0
» Views: 133
Olive Young Promo Code [G...
Forum: General
Last Post: yanarip357
11-19-2026, 05:29 PM
» Replies: 0
» Views: 135
【Working Code】Olive Y...
Forum: General
Last Post: yanarip357
11-19-2026, 05:28 PM
» Replies: 0
» Views: 149
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:26 PM
» Replies: 0
» Views: 133
【Working Code】Olive Y...
Forum: General
Last Post: yanarip357
11-19-2026, 05:25 PM
» Replies: 0
» Views: 129
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:24 PM
» Replies: 0
» Views: 125

 
  Confused about how to use "recordData" in Query
Posted by: simon.schvartzman - 09-09-2019, 05:39 PM - Forum: General - Replies (2)

Hi guys, this is probably a very dum question but what can I do...

According to the documentation the Output for a query using "recordData" as the "pResultFormat" parameter is:

(Array) - If pResultFormat is "recordData":

  • Output is an array where each key is a recordID of a record in the specified table that matches the query, with subkeys defined by the schema.
I'm confused as how to retrieve the Array elements as I don't know the recordIDs...

Using the Example of the documentation

recordData Output:
# tOutputA["87654321-abcd-1234-cdef-1234567890ab"]["cdb"] - metadata
#                                                  ["firstName"] - "Jenny"
#                                                  ["lastName"] - "Smith"
#                                                  ["age"] - 46
#                                                  ["income"] - 100000

Where do I get "87654321-abcd-1234-cdef-1234567890ab" from?

Moreover let's say the query returns 4 records, how do I navigate trough each of them?

Can you please provide a complete example? Many thanks


Thanks


  Suggestion: add "Sort" to LCM
Posted by: simon.schvartzman - 09-04-2019, 12:21 AM - Forum: General - Replies (4)

Hi team, I guess my suggestion is kind of self explained. The idea is to have a Sort "Icon" on the LCM,  similar to what is already available with the Search  "Icon"

Hope it makes sense.

Regards


  question about cdb_sync
Posted by: clarencemartin - 09-03-2019, 05:19 PM - Forum: General - Replies (1)

If do several cdb_sync calls and there is no internet connection, will all of these cdb_sync calls just cache and then sync separately when the network is available?


  Suggestion: Add pProjectName parameter to cdb_userTableName function
Posted by: WhenInSpace - 09-03-2019, 01:38 PM - Forum: General - Replies (2)

I notice my apps sometimes have trouble finding the correct cdbUsers table when using the function cdb_userTableName(), due to the fact that I have several projects, each one obviously having its own cdbUsers table. Now the function sometimes returns empty (or just "cdbUsers-" without any table id), so then it doesn't even default to any project.

Maybe the pProjectName parameter could be added to the function, defining the project name, as is the case in several other cdb commands/functions?


  cdb_setCloudTolerance defaults
Posted by: simon.schvartzman - 08-31-2019, 01:37 PM - Forum: General - Replies (2)

Hi, does anyone know the defaults for:

pTimeoutInterval, pCheckInternetInterval 

in the command:

cdb_setCloudTolerance pTimeoutInterval, pCheckInternetInterval command?

In other words, if I do not issue the command how long the intervals are going to be?

Thanks...


  Hey Guys My LCM is not working correctly
Posted by: clarencemartin - 08-29-2019, 05:38 PM - Forum: General - Replies (5)

I have a table that has 18 records but my LCM is only showing 6 records.
this is very interesting.
I have viewed the table with code to verify this.


  put cdb_list(tTable,tTarget,tKeys) into tOutputA
Posted by: clarencemartin - 08-29-2019, 03:52 PM - Forum: General - Replies (7)

I am having trouble using the cdb_list with the target "local"
The target "Cloud" works perfectly.


code tested:
on mouseUp pButtonNumber
local tMyVenueList
getVenueList1
put tMyVenueList into field "sourceList"
end mouseUp

command getVenueList1
local tTable, tTarget, tKeys, tOutputA, tMyVenueList
--local tMyVenueList
cdb_loadTable "venues"
put "venues" into tTable
put "local" into tTarget
put "VenueName" into tKeys
put cdb_list (tTable,tTarget,tKeys) into tMyVenueList
-- put "Not Assigned" & return before tMyVenueList
-- put "All Venues" & return before tMyVenueList
--answer gMyVenueList
end getVenueList1

I even did a reload of a table to make sure the table was loaded.


  Anyone with a professional product in production using LiveCloud?
Posted by: simon.schvartzman - 08-29-2019, 12:00 PM - Forum: General - No Replies

Hi LiveCloud users, I'm asking this question because I'm in the process of migrating my App from using Dropbox as the data server to LiveCloud (with all its expected benefits) but considering all the (in my view) "critical issues" (*) I've seen since the product was introduced I'm wondering if this would be a wise decision.

If you have a (LiveCloud based) reliable & performing application that has been in production for a while (CanelaDB apps doesn't count) would you be willing to share details? How many Tables / Records? where are most of your users and which LCM location are you using? how you deal with the above mentioned "critical issues"? etc, etc

LiveCloud has a fantastic value proposition for Livecode programmers but it seems is not yet delivering to promise. May be I should wait a while before going into production with LiveCloud

Hope I'm wrong (and Mark is listening...)


(*) Slow response, not able to authenticate, broken access after a CanelaDB update, long time to get answers for posts on the forum, etc.


  Error: Could not decrypt config.
Posted by: simon.schvartzman - 08-29-2019, 01:13 AM - Forum: Bug Reports - Replies (10)

Hi team, after:

  •   upgrading to V2.3.4
  •   exporting the Toolkit 
  •   copying the initialization snippet to my stack
  •   closing LC
when I reload the stack I get

        The CanelaDB is missing...

and in the message box

        Error: Could not decrypt config. Can not load CanelaDB libraries.

even though in the Project Browser I can see both libraries...

What am I doing wrong?


  New libraries and published App
Posted by: simon.schvartzman - 08-29-2019, 12:22 AM - Forum: General - Replies (2)

Hi LCM team, I'm not clear as what happens when you release a new "Verson" (shouldn't be "Version" the title of the release notes?) of the CanelaDB libraries. 

It appears to me the APPs already published, accessing the "Previous Verson", stop working and  have to be regenerated to start working again with the new libraries. 

Please prove me wrong.

Thanks