SubForm
Posted: Mon Apr 02, 2012 4:46 am
Hi, i'm new to NuBuilder & would like some advice.
Following is the simple structure of the tables involve.

the relationship is 1 to many, as there can be many job descriptions involve in 1 project.
The link there is, Project called P1 is handle by manager name Alice, & the job involve in the project are SMS module & Email module.
I already created the 2 tables, & a form to view table Project.
what i want the outcome to be:

Basically what i've done is just create the main form & 2 text objects to show project manager name & project ID.
Then I created another object, Subform.
Table: Job
Primary key: job_id
Foreign Key: job_code
SQL: select * from Job where Job_code = '#id#'
Now the both forms were also showing, but only main showing data & subform just blank.
is there any extra steps or object i should create in order to make the subform shows field "descriptions" ?
Following is the simple structure of the tables involve.

the relationship is 1 to many, as there can be many job descriptions involve in 1 project.
The link there is, Project called P1 is handle by manager name Alice, & the job involve in the project are SMS module & Email module.
I already created the 2 tables, & a form to view table Project.
what i want the outcome to be:

Basically what i've done is just create the main form & 2 text objects to show project manager name & project ID.
Then I created another object, Subform.
Table: Job
Primary key: job_id
Foreign Key: job_code
SQL: select * from Job where Job_code = '#id#'
Now the both forms were also showing, but only main showing data & subform just blank.
is there any extra steps or object i should create in order to make the subform shows field "descriptions" ?