You need to sign in to do that
Don't have an account?
moeoo
select available value from custom pick list field
Hi
I have a custom pick list field and I want to select all the availble values by query satement.
Does anyone have an idea how the query string will look like?
I have AccountStatus field and values are Active, Inactive, etc.
Thanks
I've got the same problem, I'd like to get all the available values from a pick list. Is it impossible to do it by query statement ( if it is, how ? ).
Otherwise, Is it possible by using the DescribeSobject ?
By :
1. Pick up all the fields and then check and save the picklist I want.
2. Get the values from that picklist.
I'm trying to do it by this way but I'm not suceeding. Can someone help me please ?
It's quite important ! So thankyou all ...
Regards
Mig
if you are using this method, what is not working?
the describe call or looping thru the fields?
Thankyou Ron for the Reply.
Best regards
Mig
Hi all
Thanks for replying.
I would like to get the pick list in sControl. Can I use the DescribeSobject in s-Control/Javascript? If so how? Can anyone give me some example code?
Thanks
Moe
Hi
sekoulinux yes U can ... well if I understand want u want ..; U have the possibility to access to all the Objects ir your sfdc !! And offcourse all the fields ...
Code:... Something like that
yourpicklistfield is the Index of the picklist field u want to know the values.
Message Edited by Mig on 09-20-2007 11:58 PM
Message Edited by Mig on 09-21-2007 12:01 AM
Message Edited by Mig on 09-21-2007 12:01 AM