cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
willick
Level: Powered On

Expected 'indent' or 'colon' in Collect statement

 

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
} )

 

1 ACCEPTED SOLUTION

Accepted Solutions
willick
Level: Powered On

Re: Expected 'indent' or 'colon' in Collect statement

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 
}
)

View solution in original post

1 REPLY 1
willick
Level: Powered On

Re: Expected 'indent' or 'colon' in Collect statement

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 
}
)

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 319 members 5,630 guests
Please welcome our newest community members: