You need to sign in to do that
Don't have an account?
VisualForce Filter Page
Hello,
I have a custom object MyObject__c that has some fields and relationships, like Quantity__c, Price__c, and a relationship with an Account.
I need a page that allows the user to specify none, one, or more than one of these fields and list the corresponding records.
I wish that the user can type a number in the Quantity or Price fields, or choose one of the existing Accounts, and then the instances of MyObject that satisfy the filter are shown.
I believe I will use a Command Button with the action={!list}, but I'm having trouble to think a way of getting the input values and filtering it. Can anyone help?
I just want something to start with.
Thanks
Hi
You can Filter by using Search criteria ,You can Build a Dynamic Visualforce Page to do this ,Please refer following link,will be useful
http://blog.jeffdouglas.com/2010/07/13/building-a-dynamic-search-page-in-visualforce/
Hope this Helps you !!