Hakan
Please try the following:
Define your menus in two functions separately
Static Function MnuHazirlama()
// Or, if you use this menus in others modules ( PRGs )
// Function MnuHazirlama()
聽 聽//Not use this if oToplu_UDF_Hazirlama variable is defined static
聽 聽//local oToplu_UDF_Hazirlama
聽 聽 MENU oToplu_UDF_Hazirlama POPUP 2010
聽 聽 聽 聽 MENUITEM "List1" ACTION UDF_Rapor()
聽 聽 聽 聽 MENUITEM "List2" ACTION Toplu_UDF()
聽 聽 聽 聽 MENUITEM "List3" ACTION Toplu_PDF()
聽 聽 聽 聽 MENUITEM "List4" ACTION Toplu_UDFT()
聽 聽 聽 聽 MENUITEM "List5" ACTION Toplu_UDFT1()
聽 聽 聽 聽 MENUITEM "List6" ACTION Toplu_UDFT2()
聽 聽 聽 聽 MENUITEM "List7" ACTION Toplu_UDFT3()
聽 聽 ENDMENU
Return oToplu_UDF_Hazirlama
Static Function MnuRapolar()
// Or, if you use this menus in others modules ( PRGs )
// Function MnuRapolar()
聽 聽//Not use this if oOzel_Raporlar variable is defined static
聽 聽//local oOzel_Raporlar
聽 聽 MENU oOzel_Raporlar POPUP 2010
聽 聽 聽 聽 MENUITEM "Report1" ACTION GenelRapor_Ozel1()
聽 聽 聽 聽 MENUITEM "Report2" ACTION GenelRapor_Ozel2()
聽 聽 聽 聽 聽 聽 MENU
聽 聽 聽 聽 聽 聽 聽 聽 MENUITEM "Excel" ACTION GenelRapor_Ozel2(2)
聽 聽 聽 聽 聽 聽 聽 聽 MENUITEM "Printer" ACTION GenelRapor_Ozel2(1)
聽 聽 聽 聽 聽 聽 ENDMENU 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // <<<<---- line 1554
聽 聽 聽 聽 MENUITEM "Report3" ACTION GenelRapor_Ozel3()
聽 聽 聽 聽 MENUITEM "Report4" ACTION GenelRapor_Ozel4()
聽 聽 聽 聽 MENUITEM "Report5" ACTION oApp:RUN("MERAPOR()")
聽 聽 聽 聽 MENUITEM "Report6" ACTION oApp:RUN("RAPOR_258()")
聽 聽 聽 聽 SEPARATOR
聽 聽 聽 聽 MENUITEM "Report7" ACTION GenelRapor_Ozel11()
聽 聽 聽 聽 MENUITEM "Report8" ACTION GenelRapor_Ozel12()
聽 聽 聽 聽 MENUITEM "Report9" ACTION GenelRapor_Ozel13()
聽 聽 ENDMENU
Return oOzel_Raporlar
And, when you need to use these menus, call the corresponding function
... 聽MENU MnuHazirlama() ...
// or
... 聽MENU MnuRapolar() ...
Please, tell me if run Ok, thanks