public Record makeRecordFromRecordName ( String strRecordName , RecordOwner recordOwner ) { int iOldKeyArea = this . getDefaultOrder ( ) ; try { this . addNew ( ) ; this . setKeyArea ( ContactType . CODE_KEY ) ; this . getField ( ContactType . CODE ) . setString ( strRecordName ) ; if ( this . seek ( DBConstants . EQUALS ) ) return this . makeContactRecord ( recordOwner ) ; } catch ( DBException ex ) { this . setKeyArea ( iOldKeyArea ) ; } return null ; }
MakeRecordFromRecordName Method .