General information
Category:
Forms & Form designer
Title:
Closing a form from my menu
i have a simple app where there are a few different forms. all i want to do is close down a form from the menu. When i run the form i use the following syntax "do form xyz name xyz"
i am trying to use the following code but i get an error on the ELSE saying "object CUSTOMER is not found"
IF _screen.ActiveForm.Name = 'Customer'
_screen.ActiveForm.release
ELSE
Customer.RELEASE
ENDIF
what should i change the ELSE to?
thanks,
n.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only