Ok, I have a big form where data is inputted. I have two basic questions here.
First is, I have an E-mail function attached to a submit button, that whenever you hit the button, it sends an E-Mail to a certain person. I have a field on the source table that has record #, and it is Autonumber. I have
Set MyDB = CurrentDB()
Set MyRecs = MyDB.OpenRecordset
("Adjustment Correction Table")
The field name in Adjustmen Correction Table is [Record #], how would I refer to the current record I'm working on as a variable.
The Second is this... I also have a check box, which sends a different E-mail if clicked. I have the function set to On Get Focus, which is what I assumed to be if the check box was clicked True. However, if I check it True, or Uncheck it false, it still sends the E-Mail. How could I get it to just send the E-Mail when I check the box true, not when it's unchecked false.
Thanks in Advance...
Doug
First is, I have an E-mail function attached to a submit button, that whenever you hit the button, it sends an E-Mail to a certain person. I have a field on the source table that has record #, and it is Autonumber. I have
Set MyDB = CurrentDB()
Set MyRecs = MyDB.OpenRecordset
("Adjustment Correction Table")
The field name in Adjustmen Correction Table is [Record #], how would I refer to the current record I'm working on as a variable.
The Second is this... I also have a check box, which sends a different E-mail if clicked. I have the function set to On Get Focus, which is what I assumed to be if the check box was clicked True. However, if I check it True, or Uncheck it false, it still sends the E-Mail. How could I get it to just send the E-Mail when I check the box true, not when it's unchecked false.
Thanks in Advance...
Doug