johncassell
Well-known member
Hi There,
I have a DataGrid(view) which is not behaving the way I would like and hope someone can help..
Background: 2 tables in DB (WS_Jobs & FittersJobHours).
I have a relationship between the field 'Job_Number' in the parent table 'WS_Jobs' and the field 'Job_Number' in the child table 'FittersJobHours' (Relation Only)
On my form I have dragged the FittersJobsHours datagrid(view) from the 'FittersJobHours' table which is attached to the WS_Jobs table (Not the one on it's own).
As you can see from the image below, when the form loads, my textboxes are automatically filled with the first job in the DB.
The datagrid(view) doesn't populate though. I need it to populate and also allow new lines to be added...
Any ideas would be really appreciated..
Thanks
John
I have a DataGrid(view) which is not behaving the way I would like and hope someone can help..
Background: 2 tables in DB (WS_Jobs & FittersJobHours).
I have a relationship between the field 'Job_Number' in the parent table 'WS_Jobs' and the field 'Job_Number' in the child table 'FittersJobHours' (Relation Only)
On my form I have dragged the FittersJobsHours datagrid(view) from the 'FittersJobHours' table which is attached to the WS_Jobs table (Not the one on it's own).
As you can see from the image below, when the form loads, my textboxes are automatically filled with the first job in the DB.
The datagrid(view) doesn't populate though. I need it to populate and also allow new lines to be added...
Any ideas would be really appreciated..
Thanks
John
Attachments
Last edited by a moderator: