cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Syntax error, cds List Records

Why does this give a syntax error?

 

Annotation 2020-06-26 091959.jpg

Annotation 2020-06-26 091705.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Rahber
Super User II
Super User II

Hello the email should be passed as a string so you need to enclose it in quotes. Here is the  correct syntax is

 

emailaddress1 eq 'email@email.com'

See the attached image. I have highlighted what is missing in your syntax

list records.PNG

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,

Rahber

View solution in original post

1 REPLY 1
Rahber
Super User II
Super User II

Hello the email should be passed as a string so you need to enclose it in quotes. Here is the  correct syntax is

 

emailaddress1 eq 'email@email.com'

See the attached image. I have highlighted what is missing in your syntax

list records.PNG

 

Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

Thanks,

Rahber

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (3,006)