+ Start a Discussion
Sangeeta BhatiaSangeeta Bhatia 

Need help w a VF custom controller code- trying to set the value of a variable from the value of a field on the record opened

Hi All I am very new to Apex and VF code.I am new to VF. I have a custom object called 'Installed Base' with a field called parent IB. I want that when someone opens an Install Base record, all the siblings should be displayed, meaning records where parent IB value is the same should be listed out/displayed.I have  VF page displayed via a custom button. I am not a coder but able to write a VF page and display it as button on record layout. Able to display the record values from the record that is open but not able to filter out the list to show only the records where the parent field value is same as the record opened. I just need a little help with how to set the varaible to use the value of the parent field from the record opened and how to add that to my query filter. Thanks.