Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Invalid column name error when passing Name parameter

amber
Discoverer
0 Likes
1,816

HI  I am trying to pass parameter first_name and when i pass in query and create parameter then this shows error

this is the query which used 

c2.png

and this is the error i receive

 

c3.png

whereas when i use this query for  Customer_ID parameter this works but not works with Name.. where is the mistake? why not working with Name

2 REPLIES 2
Read only

JWiseman
Active Contributor
0 Likes
1,779

Hi Amber, in the Command query WHERE clause try putting the First_Name@ prompt in single quotes. Otherwise it's assumed that the first name parameter value is a field name.

i.e. cs.First_Name = '{?First_Name@}'

Read only

0 Likes
1,719

Thanku so much . It works 🙂