Ken, I put the referential integrity on my relationship joins. I can't currently figure out though why it wouldn't let me do it on the Servings and RecipeIngredients table joins to the Recipes table. From Ginas' suggestion of removing my "/" & "()", I have
modified it a little and removed the Servings table altogether. Although that still leaves 1 join without referential integrity. I deleted the Ingredient and Measurement ID fields from the Recipe table also. I don't know why it is not working as (to me) it
looks like it is set up the same as for RecipeFolders, which is working.
This message comes up, 'Microsoft Office Access can't create this relationship and enforce referential integrity'.
Thought I would ask you if you feel that these relationships MUST have their 'Cascade Update Related Fields' amd 'Cascade Delete Related Records' boxes ticked also, as I haven't felt like that was something I wanted to do.
I find when things get hard, the 'KISS principle' is one to live by in most cases.
Scottgem, I had done a little research on the terms regarding surrogate vs natural key and did find it to be kind of an endless debate. I didn't research to long as I didn't want to get confused about things that I didn't fully understand. I find your reply
helpful enough to put my mind at ease with this.
So I think I understand 'keys' a little better as I have done a little research. I understand the compound key (2 or PK's in 1 table) is a way to make a unique key combining the information of more than 1 field at once.
I could be totally wrong here, but would you describe a record with field data or data combinations which there is no duplicate of in the table/database as a natural key.
I saw in one part of my researching that a 'SurrogateKey' was displayed as a field name is that how you get a surrogate key?
Also if you think I need to have this key, can you please explain something I found 'Surrogate keys avoid choosing a natural key that might be incorrect.'
Where do these keys come into play anyway and do they all show keys next to there records/fields? Are these keys instead of a single PK in a table like I have now? Do I need to worry about any other key apart from what I already have (PK & FK)?.
The way you explain the 'Dirty property' is like you use it to updates the edit straight away. That was not the issue I had, so happy not to worry about that anymore.
Gina it does get confusing with all the info, but regarding the 'Required field' question. I think I asked this as I thought it may have been causing issues with my subform. That should be alright now though.
Your Orphan reasoning and explanation was good thanks, I understood 'orphans' earlier in my research but as I have had issues and this was not one I kind of forgot the details. Thanks for the refresher, not sure I will need this with what I am doing (I do have
another database which worked okay, and another project after this one to look at), I will try to keep your way in mind for later.
Gina you state 'I'm sorry but in order to fix what you have you need to redo the tables. A band aid will not work in this case.' but above that you had stated 'Your Data Model...Looks good with a couple of suggestions' (which I was real happy to hear & I have
changed). What other issues should I be aware of.
Gina you are obviously far more knowledgeable then me on access and I would never temper with anything from any of my expert advisers. Apology accepted.
I was pretty happy with my table setup, so I just thought I would fix the form a little. The only reason I was going 'between Table design and Form design' was because I was trying to fix my subform issue (of misbehaving). Is there a way to lock my formatting
on my form, I am still paranoid that I will need to fix it again at some point. I am guessing one workaround is, only have one tab open at a time (form/table/etc.).
You will be happy to know I am not going to go further than that without all your approvals to do so.
I just decided to add a couple more tables this is the current setup
