Hi all,
I don't know how to handle this situation. Any suggestions really appreciated. I have one form name "CUSTOMER PROFILE", but being called from two differents places:
1) When user click "CUSTOMER PROFILE" from switchboard: It has minimum required fields such as: name, contact person, city, state (macroname: MIN_REQUIRED. I used BEFORE_UPDATE event to run this macro before closing the form and it wors fine!!! )
2) However I don't know how to handle when CUSTOMER PROFILE form being called from another form with certain condition. For example: on the STATUS FORM when CUSTOMER STATUS changed to COMPLETED. I need to go to CUSTOMER PROFILE then check to see if the rest of the form has been filled yet ??? If not then make them filled the rest of the CUSTOMER PROFILE form
It has differents requirement (more detail) such as addrsess, phone, zip code, tax id ... (I name this macro as a STATUS_REQUIRED)
In other word, how do I distinguish to run macroname "STATUS_REQUIRED" when calling from STATUS form OR run macro MIN_REQUIRED when calling from switchboard. Is it make sense to you at all ???
Thank you !!!
I don't know how to handle this situation. Any suggestions really appreciated. I have one form name "CUSTOMER PROFILE", but being called from two differents places:
1) When user click "CUSTOMER PROFILE" from switchboard: It has minimum required fields such as: name, contact person, city, state (macroname: MIN_REQUIRED. I used BEFORE_UPDATE event to run this macro before closing the form and it wors fine!!! )
2) However I don't know how to handle when CUSTOMER PROFILE form being called from another form with certain condition. For example: on the STATUS FORM when CUSTOMER STATUS changed to COMPLETED. I need to go to CUSTOMER PROFILE then check to see if the rest of the form has been filled yet ??? If not then make them filled the rest of the CUSTOMER PROFILE form
It has differents requirement (more detail) such as addrsess, phone, zip code, tax id ... (I name this macro as a STATUS_REQUIRED)
In other word, how do I distinguish to run macroname "STATUS_REQUIRED" when calling from STATUS form OR run macro MIN_REQUIRED when calling from switchboard. Is it make sense to you at all ???
Thank you !!!