Application Development 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: 

Invalid column name error when passing Name parameter

amber
Discoverer
0 Kudos

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

JWiseman
Active Contributor
0 Kudos

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@}'

0 Kudos

Thanku so much . It works 🙂