• richardvanhook123
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hi,

 

Is there a way to to iterate through an objects field list so I can dynamically build a SELECT statement?  I don't want to hard code field names because that requires maintenance to the code down the road should a new field be added or worse a field name change.

 

 

Hi

 

Is there any way to SELECT "All" the files of an object when using SOQL?

 

I know I'll need all the field of an object in my code and I'm trying avoid changing my SELECT query each time I add fields to the object.

 

How can I achive this?

 

Thanks

 

  • April 29, 2011
  • Like
  • 0