Hi,
I have an access database (2007) and I have a parent table (Projects) and several child tables.
For a new project record, I want to copy a child record from another project's child record (as a new project's child record) and then plan to edit the copied record. My copy operation works fine in VBA but I wanted to add a check point so that the user can do this operation only if the new project's child tables contains no associated child records (i.e. there shouldn't be no child record for the new project before proceeding to copy operation).
So, my question is how do I check if a parent (a project) record has no child record (i.e. a child table with no records yet)?
I checked the forum but no direct help. Any advise is greatly aprreciated.
I work as a mechanical engineer for living but my Access SQL and VBA skill is just about average.
Thanks.
I have an access database (2007) and I have a parent table (Projects) and several child tables.
For a new project record, I want to copy a child record from another project's child record (as a new project's child record) and then plan to edit the copied record. My copy operation works fine in VBA but I wanted to add a check point so that the user can do this operation only if the new project's child tables contains no associated child records (i.e. there shouldn't be no child record for the new project before proceeding to copy operation).
So, my question is how do I check if a parent (a project) record has no child record (i.e. a child table with no records yet)?
I checked the forum but no direct help. Any advise is greatly aprreciated.
I work as a mechanical engineer for living but my Access SQL and VBA skill is just about average.
Thanks.