Closing Open Bound Forms

R

robin9876

In an Access 2000 database, that has Form A (bound form) which after
certain data items have been entered Form B (unbound form is
displayed).

While in Form B is it possible to close Form A without saving the
record and close From B?
 
A

Allen Browne

You mean this kind of thing?

If CurrentProject.AllForms("FormA").IsLoaded Then
With Forms("FormA")
If .Dirty Then
.Undo
End If
End With
DoCmd.Close acForm "FormA"
End If
DoCmd.Close acForm, Me.Name
 
R

robin9876

Allen, that worked. We did have a few issues with closing the form due
to some other processing but this was resolved.
 
Top