• siddik s 6
  • NEWBIE
  • 25 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 9
    Replies
 I have one object like Patient__c. This object contain some fileds.And create one VF tab Patient. Using this object to create a vf page and create some buttons like save and edit nad delete. But I am create a vf page but did not work whith save ,edit,delete buttons how to achive it.

<apex:page standardcontroller="Patient__c" sidebar="false">
    <apex:form >
        <apex:tabPanel>
            <apex:tab label="Patient">           
    <apex:pageBlock title="patien page">
        <apex:pageBlockSection >
        <apex:inputField value="{!Patient__c.name}"/>
         <apex:inputField value="{!Patient__c.Address__c}"/>
        <apex:inputField value="{!Patient__c.Age__c}"/>
         <apex:inputField value="{!Patient__c.City__c}"/>
        <apex:inputField value="{!Patient__c.DateTime__c}"/>
         <apex:inputField value="{!Patient__c.Gmail__c}"/>
        <apex:inputField value="{!Patient__c.Phone__c}"/>
         <apex:inputField value="{!Patient__c.RegNumber__c}"/>
        </apex:pageBlockSection>
        </apex:pageBlock>
                <apex:commandButton value="save" action="{!save}"/>
         <apex:commandButton value="Edit" action="{!Edit}"/>
          <apex:commandButton value="Exit" action="{!delete}"/>
                </apex:tab>
            </apex:tabPanel>
    </apex:form>
</apex:page>


Thanks