J
joyo
Hi,
I'd like to give a message box to users when they exit
from the last question in the form. I will ask whether
they want to add another new record. I have two modes, one
is EDIT and one is ADD. I used NewRecord to check these
two modes. I don't want to show this message when users
are in edit mode. At begining, I put NewRecord function in
Open event. When I open the form
(OpenForm "...",,,,acAdd), the NewRecord is 0, not "-1".
I changed "NewRcod" to load event, it changs to "-1", but
last question still is "0" for "NewRecord" function. I
have a "save" action before I get the last question.
What isnot a new record when I exit from last question. Is
the "save" action will effect it?
Thanks
joyo
I'd like to give a message box to users when they exit
from the last question in the form. I will ask whether
they want to add another new record. I have two modes, one
is EDIT and one is ADD. I used NewRecord to check these
two modes. I don't want to show this message when users
are in edit mode. At begining, I put NewRecord function in
Open event. When I open the form
(OpenForm "...",,,,acAdd), the NewRecord is 0, not "-1".
I changed "NewRcod" to load event, it changs to "-1", but
last question still is "0" for "NewRecord" function. I
have a "save" action before I get the last question.
What isnot a new record when I exit from last question. Is
the "save" action will effect it?
Thanks
joyo