
Announcements
I am trying to add to a collection 'cltHousholds' using the code below but keep receiving either 'expected indent' or 'expected colon' error. What is the editor complaining about?
Collect( cltHousholds,
{
"id": "D131A",
"address": "16 HH Dr",
"status": 0
}
)
Well the problem was not what I expected but when I removed the quotes from the 'name' elements like so it worked.
Collect( cltHousholds,
{
id: "D131A",
address: "16 HH Dr",
status: 0
}
)