Hi,
I've moved my database backend tables etc to SQL Server, keeping the mdb format for the front end. My problem is with one of the forms. The subform no longer displays to allow data entry. If there are existing records the controls are visible with the data and it's possible to edit the information.
Is there a fundamental difference in the way forms/subforms work when the Data source is sql?
The data source from the main form is:
SELECT tblDailyComments.*
FROM tblDailyComments
WHERE (((tblDailyComments.JobID)=[Forms]![frmMainDataEntry]![ctlJobID]) AND ((tblDailyComments.OperationDate)=[Forms]![frmMainDataEntry]![txtOperationDate]));
The data source for the subform is a table:
tblDailyOperatingData
The Form / subform are linked on a field called DiaryID for which initially there are no records that link the two data sources.
Any help would be much appreciated,
Peter.
EDIT: PS there's no relationships set up between the tables involved in either of the DB's.
I've moved my database backend tables etc to SQL Server, keeping the mdb format for the front end. My problem is with one of the forms. The subform no longer displays to allow data entry. If there are existing records the controls are visible with the data and it's possible to edit the information.
Is there a fundamental difference in the way forms/subforms work when the Data source is sql?
The data source from the main form is:
SELECT tblDailyComments.*
FROM tblDailyComments
WHERE (((tblDailyComments.JobID)=[Forms]![frmMainDataEntry]![ctlJobID]) AND ((tblDailyComments.OperationDate)=[Forms]![frmMainDataEntry]![txtOperationDate]));
The data source for the subform is a table:
tblDailyOperatingData
The Form / subform are linked on a field called DiaryID for which initially there are no records that link the two data sources.
Any help would be much appreciated,
Peter.
EDIT: PS there's no relationships set up between the tables involved in either of the DB's.