I am a newbie to jCook and cannot figure out how to get the Combo box in a form to populate from a foreign key. I have created two tables, and created a foreign key field in 1 of them and linked to the other table.
I have created the views but all I get in the combo (select) box when editing is a single line - which defaults to 0.
Bizarrely if I enter a value into the combo box (a select box) I can get the correct foreign table values - so the tables are linked- but I can't seem to get the foreign key ids to appear so I can select ... and in any case I should not be able to type a value in a combo box?
Update - I just realised that the field in the form is a text field (which explains why I can type in it) and yet I have specified Combo Box. Any Ideas why it renders the wrong field type?
Later ...
Solved it. Deleted all the fields and redid everything and now it works ..