Megacitizen
Registered User.
- Local time
- Today, 13:09
- Joined
- Mar 22, 2012
- Messages
- 130
After countless efforts, I have finally managed to get a form that displays my Teams as from the correct Bases and Nations, and for those allocated regions, I have been able to input the correct info afterwards. Hallelujah!
My next query is to be able to use the form to add new teams not currently in our tables. On testing my form, I was unable to add in a new team, getting instead a warning macro "you must enter a value in the 't_Teams.BaseID' field". I was under the impression that if I tried to key in a new team, it would automatically be assigned a new ID which would become its PK.
Is there a code I need to use to be able to add new records, and would it be an AfterEvent based code?
Sorry for asking so many stupid questions, but I really honestly have little clue what I'm letting myself in for.
Using MS AccDB 2010
My next query is to be able to use the form to add new teams not currently in our tables. On testing my form, I was unable to add in a new team, getting instead a warning macro "you must enter a value in the 't_Teams.BaseID' field". I was under the impression that if I tried to key in a new team, it would automatically be assigned a new ID which would become its PK.
Is there a code I need to use to be able to add new records, and would it be an AfterEvent based code?
Sorry for asking so many stupid questions, but I really honestly have little clue what I'm letting myself in for.
Using MS AccDB 2010