N
Naz
Hello
I have a form which records nil returns (no absense) for staff absences. The
form opens, created a new record, and it automaticall fills in the person
team based on user. There is a calender button to allow them to choose the
week end.
There is a sub form that shows all the past returns that have been done,
linked by team to the main form. As soon as a new record is created a new
entry showing the team is created in the subform.
But if the user cancels the entry by clicking the close button, the form
closes but still stores the team name in the sub form with no week as none
was selected.
The problem occurs every time you go to view past nill returns, or go in and
then not actually enter a week.
How can i create a proper cancel button, so that when it pressed no new
record is created in the sub form, and it the form then closes.
All help is appreciated.
I have a form which records nil returns (no absense) for staff absences. The
form opens, created a new record, and it automaticall fills in the person
team based on user. There is a calender button to allow them to choose the
week end.
There is a sub form that shows all the past returns that have been done,
linked by team to the main form. As soon as a new record is created a new
entry showing the team is created in the subform.
But if the user cancels the entry by clicking the close button, the form
closes but still stores the team name in the sub form with no week as none
was selected.
The problem occurs every time you go to view past nill returns, or go in and
then not actually enter a week.
How can i create a proper cancel button, so that when it pressed no new
record is created in the sub form, and it the form then closes.
All help is appreciated.