Hey there, I think I've got myself confused a bit. I have created simple forms that pop up to add new items to a specific table. Example being adding a new interior colour to the list of interior colour choices.
you click the "add" button the form opens to a new record. you type in an interior colour in the intcolour field and click save or cancel. What am I doing so that the save and cancel button actually either allows or denies this new entry from sticking?
right now im doing:
Code:
DoCmd.Close acForm, "frmInteriorColour", acSaveYes
for the save button
and
Code:
DoCmd.Close acForm, "frmInteriorColour", acSaveNo
for the cancel button
No matter which one u choose if you have typed something into the intcolour field its been added to the table.
How do I make it based on the save and cancel buttons only?
Thanks