I'm stuck on something. I want to store a list of options in the livecloud database that i will insert into the text of an option menu , or combo Box Menu control (Basically a dynamic drop down list)
It works fine if there id only one record in the table, for example:
Code:
put cdb_read("companySetup","*","local") into tBranchData
//there is only one record in the companySetup table
set the text of button "branchTaxAppliedTo" of me to tBranchData[the keys of tBranchData]["brnCode"] && "-" && tBranchData[the keys of tBranchData]["companyName"]
// this works provided that there is only one record in the table
--I tried to convert the array with return (as per documentation, I also tried return and tab) on the next piece of code that has more than 1 record
put cdb_read("taxTypes","*","local") into tTaxTypes
put tTaxTypes[the keys of tTaxTypes]["taxTypes"] into tTaxTypes2 // there is only one row called taxTypes in the table
combine tTaxTypes2 using return and tab
set the text of button "taxType" of me to tTaxTypes2
I added the combine command in the hope that it will work, but it didnt
"Trying to get current config file and will try again"
"TableName provided is not a valid tableName: ..."
"Missing critical data needed to write to cloud"
I was running a lot of queries. Did I break the system?
Here is a quick update on regions and datacenters. We recently built a region in South Africa.
It is being hosted in a Microsoft Azure datacenter. As we have stated in the past, we normally use Digital Ocean regions as they are a good fit for LiveCloud. Our experience with Azure will allow us to look into other locations where Digital Ocean is not providing service.
The new region will be available in our next update to LiveCloud Manager. We are aiming to release the update later today.
Our current list of regions:
San Franciso, USA
New York, USA
Toronto, Canada
London, UK
Johannesburg, Africa
This is a good update. THUMBS UP!
Can you expand some information on the section:
" We are now using the industry standards when deleting you project,aka child proof.(Credit Tom Glod)"
Is this a reference to "Relational Integrity"? Where you cannot delete a table that has some kind of child record links?
Under the Sample ion the LCM, I am trying to build the Notepad application. Specifically, because of the description, that states: it works locally without user authentication. Is this still true? I have run into an error on line 233 of the Stack "notepad_main_behavior.
which throws the following error: stack "notepad_main_behavior": execution error at line 233 (Chunk: can't find background), char 1.
what am I missing? Also an added comment:
The reason that I like LiveCode is its versatility in being able to accomplish the various task, sometimes using, what I might call, abstract programming methods.
I call these "Rabbit Hole" programming methods. I am a person that uses Abstract Programming methods all the time. But I try to comment these "Rabbit Hole" scripts because I don't always remember why I take these detours in my scripts, especially when I have to go back at a later time. One of the most popular Abstract Programming methods is "behaviors" which I completely support. It's like exploring a cave, you need to have bread crumbs so you don't get lost.
Sample applications need to have commented sections so the users cannot fall into what I call "Rabbit Hole" or "Abstract" programming areas. Please add comments, especially in Sample Programs, to explain what is going on.
I know for the authors of these Sample Programs, the need to complete and provide these samples is paramount, but so is the need for users to understand how and why these samples work. Please don't take this as a negative comment. but samples are learning tools.
It seems the verification emails are not coming through.
I have tPreVerify set to false
The user is created successfully
but no verification email comes in (using default template for now)
Its not in the spam folder, and I've waited several minutes.
I will carry on, please let me know whats going on with this.