H
homey
Guest
Hello all
I am really struggling with the design of a data entry form for a journals database where I wish to add a new record/or update an existing one to 3 tables simultaneously.
Tables:
tDetails (describes journal details for every journal print or ejournal)
tPrint (describes print holdings at 3 different locations)
tEjournal (describes hyperlink and e-holdings for each journal)
journal_name is the Primary key in tDetails & foreign key in the other tables.
Relationships:
tDetails to tPrint is one to many (though not all journals have entries in tprint)
tDetail to tEjournal is one to many (though not all journals have entries in tEjournal)
So far I have tried to build a form using tDetails with the other tables represented as subforms with the child/master links. But I have discovered the well documented problem on this forum that the fields from the parent form tDetails are updated to the table as a new record as soon as you tab into a subform.
I do not if there is any code to cancel/undo the already saved record in the parent form/table once the subforms are filled if the user decides they have filled everything out in error.
My question is as a complete novice to Access & VB, is this form entry design the most appropriate for what I want to do? Is there a way round the form/subform anomoly?
I thought of writing a query instead to capture all the fields from all the tables to disply in just one form... but then I didn't know how to represent the one-to-many data entry part... ie adding more than one hyperlink to tEjournal for each new journal record.
I know this is all very elementary and I do feel extremely dim because i can't get my head round it.
I would be very grateful if someone could help me out.
ThankS !
I am really struggling with the design of a data entry form for a journals database where I wish to add a new record/or update an existing one to 3 tables simultaneously.
Tables:
tDetails (describes journal details for every journal print or ejournal)
tPrint (describes print holdings at 3 different locations)
tEjournal (describes hyperlink and e-holdings for each journal)
journal_name is the Primary key in tDetails & foreign key in the other tables.
Relationships:
tDetails to tPrint is one to many (though not all journals have entries in tprint)
tDetail to tEjournal is one to many (though not all journals have entries in tEjournal)
So far I have tried to build a form using tDetails with the other tables represented as subforms with the child/master links. But I have discovered the well documented problem on this forum that the fields from the parent form tDetails are updated to the table as a new record as soon as you tab into a subform.
I do not if there is any code to cancel/undo the already saved record in the parent form/table once the subforms are filled if the user decides they have filled everything out in error.
My question is as a complete novice to Access & VB, is this form entry design the most appropriate for what I want to do? Is there a way round the form/subform anomoly?
I thought of writing a query instead to capture all the fields from all the tables to disply in just one form... but then I didn't know how to represent the one-to-many data entry part... ie adding more than one hyperlink to tEjournal for each new journal record.
I know this is all very elementary and I do feel extremely dim because i can't get my head round it.
I would be very grateful if someone could help me out.
ThankS !