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
ravi k 26ravi k 26 

record type handle in vf page after checked skip recordtypes in new button

i have a  custom  object called accotOpporuntunities__c , it is haveing 2 record types : accountRecordtype and Opportunitiesrecordtype 
and  accountOpportunities__C is child to accounts and opportuities objects,
  i have created a visualforce page ,in that if selected account object  in that accotOpporuntunities__c selects accountRecordtype  pickup and
    if selected opportuities object  in that accotOpporuntunities__c selects Opportunitiesrecordtype pickup and if i select accotOpporuntunities__c  object it vl need to ask for record type selection, 
my vf page is appended for new and edit buttons in page by checking skip record type,
now if created record directly from accotOpporuntunities__C object ,it is not asking recordtypes selection, with out selecting record type record is not saving in visual force page

  Can any one help how to handle record types in this page
Thanks to all
Bhup_IndoreBhup_Indore
you can find RecordTypeId field in your Accuont object. then you can query this id in record type object and this way you can handle it.

please hare code for more detail.