Home » RADICORE » How To » Cant create relationships (There is no option to choose junior table in add relationship)
|
|
Re: Cant create relationships [message #3738 is a reply to message #3736] |
Thu, 16 May 2013 08:33   |
AJM
Messages: 2382 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
I can see two things missing in that screen:
1) A red asterisk in front of the 'Table Id (jnr)' label to signify that the field is required.
2) A popup button in the 'Table Id (jnr)' value area to signify that a value is chosen from a popup screen.
This works perfectly on all my installations. The only way that those two items can be missing on the screen is if the details in the dict_retaionship.dict.inc file are wrong. You should see the following values:
$fieldspec['table_id_jnr'] = array('type' => 'string',
'size' => 64,
'pkey' => 'y',
'required' => 'y',
'lowercase' => 'y',
'control' => 'popup',
'task_id' => 'dict_table(popup1)',
'foreign_field' => 'table_id_jnr',
'noedit' => 'y');
Can you check your copy of the file to see if it correct?
[Updated on: Thu, 16 May 2013 08:37] Report message to a moderator
|
|
|
Re: Cant create relationships [message #3739 is a reply to message #3738] |
Thu, 16 May 2013 08:57   |
barnabooth
Messages: 12 Registered: February 2011
|
Junior Member |
|
|
Thank you very much for answering, however in .../radicore/dict/classes/dict_relationship.dict.inc I read as it should be:
$fieldspec['table_id_jnr'] = array('type' => 'string',
'size' => 64,
'pkey' => 'y',
'required' => 'y',
'lowercase' => 'y',
'control' => 'popup',
'task_id' => 'dict_table(popup1)',
'foreign_field' => 'table_id_jnr',
'noedit' => 'y');
I am beginning to suspect something is wrong or some missing software/addon with my computer (ubuntu 13.04 on macbookpro 5.5 or browser (same error on both the current verions of chromium and firefox) as I have not done any changes in the radicore files. But as said, I don't experience any other oddities when running radicore. Just for curiosity, there are no red asterisk in "update relationship" either, should it be? See screendump.
[Updated on: Thu, 16 May 2013 11:16] Report message to a moderator
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Jul 04 19:28:46 EDT 2025
Total time taken to generate the page: 0.09934 seconds
|