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

Home » RADICORE » How To » Dropdown - value of foreign key (Dropdown is empty)
Dropdown - value of foreign key [message #2621] Tue, 21 September 2010 08:08 Go to previous message
dsstanescu is currently offline  dsstanescu
Messages: 12
Registered: August 2010
Junior Member
Hello,

I have imported a database in which:
- table SISTEME has primary key cod_sistem
and
- table ANSAMBLE has primary key cod_ansamblu and a foreign key cod_sistem

I related the tables within the framework: parent is SISTEME and child is ANSAMBLE related through cod_sistem.

I then changed the column cod_sistem in ANSAMBLE to be DROPDOWN and I was expecting when adding a new record to ANSAMBLE to have the DROPDOWN cod_sistem of this table populated with the values from SISTEME. This does not happen ... I get a DROPDOWN which is not populated....

I always exported to PHP and I noticed that the ansamble.class.inc for ANSAMBLE is very basic (see the file uploaded) if compared with the one from CLASSROOM eg crs_student.class.inc. What I get inside the class is just a function ansamble, but not others as _cm_formatData, _cm_getExtraData etc. I read #298 and #490 threads, but did not succeed to solve it...

Thanks!
Dan

 
Read Message
Read Message
Read Message
Previous Topic: upper case
Next Topic: add another action button to enquire form
Goto Forum:
  


Current Time: Thu Nov 21 15:16:43 EST 2024

Total time taken to generate the page: 0.01017 seconds