function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
uma52551.3972270309784705E12uma52551.3972270309784705E12 

Need Help in Visual Force Pages Apex code

Hi All,

Can any one help me in writting the VF page and custom controller to fetch data from different objects based on input field and update the records.

Ex: If there is a custom object called assginment__c then by giving a assginment name as input value on the VF page controller has to pick that record and load the  fields on VF page to edit and update those record values in salesforce. 
Same way the same VF page has to upadte the values of 5 different objects which are not related to each other. So for this I need Cutom controller. 

Please help me in writing this page and controller. Thanks in advance!!!
pconpcon
Typically, nobody on these boards is going to write this code for you.  I would recommend that you read up on the following articles [1] [2] and try it yourself.  If you find yourself stuck and have specific questions then I will gladly help you work through them.  However not knowing your data structure will make writing it for you difficult.

[1] https://developer.salesforce.com/page/An_Introduction_to_Visualforce
[2] https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_custom.htm
uma52551.3972270309784705E12uma52551.3972270309784705E12
Hi Pcon,

Thanks for your advise! Actually I pasted my code in the next comment to the above comment but accidently some how it got deleted. I wrote visualforce page with custom controllers for single record. But I have to write for bulk.
Thank you  for the links you have provided. Even i wrote code based on these links.I will update latest version of my code once I am done with my coding.

Thanks!