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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 578
» Latest member: lgiordano1
» Forum threads: 931
» Forum posts: 1,765

Full Statistics

Online Users
There are currently 78 online users.
» 0 Member(s) | 73 Guest(s)
Applebot, Baidu, Bing, Facebook, Google

Latest Threads
$ Costa Rica Temu Coupon ...
Forum: Code Samples
Last Post: kicawiv92
11 hours ago
» Replies: 0
» Views: 11
$ Bosnia & Herzegovina Te...
Forum: Introduce Yourself
Last Post: kicawiv92
Yesterday, 05:33 PM
» Replies: 0
» Views: 14
$ North Macedonia Temu Co...
Forum: Introduce Yourself
Last Post: kicawiv92
Yesterday, 05:28 PM
» Replies: 0
» Views: 9
$ Peru Temu Coupon Code (...
Forum: Bug Reports
Last Post: kicawiv92
Yesterday, 05:23 PM
» Replies: 0
» Views: 13
$ Serbia Temu Coupon Code...
Forum: Code Samples
Last Post: kicawiv92
Yesterday, 05:20 PM
» Replies: 0
» Views: 11
$ Dominican Republic Temu...
Forum: General
Last Post: kicawiv92
Yesterday, 05:14 PM
» Replies: 0
» Views: 15
$ Morocco Temu Coupon Cod...
Forum: Code Samples
Last Post: kicawiv92
Yesterday, 05:10 PM
» Replies: 0
» Views: 10
$ USA Temu Coupon Code (^...
Forum: Code Samples
Last Post: kicawiv92
Yesterday, 05:07 PM
» Replies: 0
» Views: 10
$ Armenia Temu Coupon Cod...
Forum: Code Samples
Last Post: kicawiv92
Yesterday, 05:04 PM
» Replies: 0
» Views: 13
$ Moldova Temu Coupon Cod...
Forum: Introduce Yourself
Last Post: kicawiv92
Yesterday, 05:03 PM
» Replies: 0
» Views: 12

 
  another internet conectivity question
Posted by: clarencemartin - 09-17-2019, 11:19 AM - Forum: General - Replies (1)

If I do an update -say add or delete a record- (all this is done with the records locally) and I shut the application off before the cached records are updated to the cloud? Are these local records held in limbo until I restart the program? I assume so. If someone else updated the same record before I restart my application, which update takes precedence? The assumption is: the other update was completed and updated to the cloud before I restart the previous computer with the application.


  testing internet connectivity
Posted by: clarencemartin - 09-17-2019, 11:09 AM - Forum: General - Replies (1)

I have run a couple of test with my application and have run a test by running my application and then turning off my wifi connection. When I turn the wifi back on, my application locks up or sometimes even crashes. 
What should I be doing in my scripts to prevent thest failures? By the way, these were executable applications so it's hard to tell where the errors occurred.
What are the best practices to code this connectivity test? I have not tried this with the runtime version of the application.


  tsNet??
Posted by: clarencemartin - 09-17-2019, 05:31 AM - Forum: General - Replies (1)

I am building an application that uses LiveCloud and hence I am assuming tsnet as the network interface.
During a test period with a surface Laptop network connectivity was flaky. I am not sure where the problem was from. I wonder if any testing has been done using outdated Windows computers or under updated. This particular machine was exhibiting incomplete network connectivity. I am requesting the user to do a Windows 10 update to that machine and then re-testing the networking to see problems are corrected. Very interesting. 
I had the application running on 2 machines and saw connectivity problems. One machine was not capable of downloading all of the data with the same quality and connectivity, and reliability.
I will keep you informed.


  Mac Standalone x IDE different behaviour
Posted by: simon.schvartzman - 09-14-2019, 05:11 PM - Forum: Bug Reports - Replies (5)

Hi guys, the following code gives different results running on the IDE versus running standalone

command startLiveCloud
   initializeCanelaDB
   answer "Internet Status:" & cdb_checkInternetStatus()
   get cdb_auth("xxx@xxx.com","xxxx","user")
   answer "Initialization Response: " & cdb_result("response")
   cdb_loadTable ("Users")
   answer "Load Response: " & cdb_result("response")
   answer "Users: " & cdb_count("Users", "cloud")
end startLiveCloud

Internet Status is "true" on both cases
"Initialization Response: " and "Load Response: " are empty on both cases (as they should)
"Users: " returns 16 (which is correct) on the IDE and nothing (empty! not even 0) on the standalone.


Before you ask before building the standalone I have added the full CanelaDB folder to be copied and manually added the 4 needed inclusions. (double checked it many times)

This is driving me crazy!!!!

Any hints?


  How to know if a table is NOT loaded
Posted by: simon.schvartzman - 09-11-2019, 12:42 AM - Forum: General - Replies (8)

Hi team, here i go again...

I understand that if I get an answer from calling cdb_ping("tablename") then "tablename" is properly loaded and I can work with it.

Question is what happens if:

1 - there is no internet connection when I call cdb_ping("tablename").
2 - there is internet connection but for some reason "tablename" has not been loaded.

I've tried the following code 

    [b]put cdb_ping("tablename") into aux
    answer cdb_result("response")       
[/b]

and in both cases the program seems to get stuck on the cdb_ping function and never reaches cdb_result

As a corollary is there any way to find out if a table isn't loaded?

Many thanks


  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...