Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Cant create relationships (There is no option to choose junior table in add relationship)
Re: Cant create relationships [message #3742 is a reply to message #3739] Fri, 17 May 2013 06:52 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
You won't see the red asterisk in the update screen as the field is non-editable.

The $fieldspec['table_id_jnr'] array contains the entry 'noedit' => 'y', which makes the field non-editable by default, but the 'Add Relationship' task should cause the following code to be executed in the dict_relationship_jnr class:
    function _cm_changeConfig ($where, $fieldarray)
    {
        // make these fields editable
        unset($this->fieldspec['database_id_jnr']['noedit']);
        unset($this->fieldspec['table_id_jnr']['noedit']);

        return $fieldarray;

    } // _cm_changeConfig


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Blocking order column feature
Next Topic: user can't insert data
Goto Forum:
  


Current Time: Thu Apr 18 07:49:00 EDT 2024

Total time taken to generate the page: 0.01027 seconds