FoxInCloud
Problem opening a form
Gravatar is a globally recognized avatar based on your email address. Problem opening a form
  Michele
  All
  Jul 22, 2019 @ 06:36am

I have this error while opening a form, but i can't understand where is the problem. Fic.2.29.0

07/22/19 03:11:56 PM
awajax.lSuccess(.f.): Error detected at code line #14,637 of method 'awajax.propschangedhtml'
"Error while mapping form changes into HTML -- Form: erp_form_impianti, Error: Method or procedure propchangedhtml_activepage(): error #11 ("Function argument value, type, or count is invalid") at code line #15,275, Object: Object {BaseClass: "Pageframe", ParentClass: "_pageframe", Class: "Erp_pageframe", ClassLibrary:"c:\program files (x86)\acuterp\erp.vcx", parent: erp_form_impianti, activepage: 2, bordercolor_: .NULL., height: 476, lastpage: 1, name: "erp_pageframe1", top: 12, wchtml: "", wcid: "erp_form_impianti-erp_pageframe1", wcpropsave: "ActivePage, LASTPAGE", wcpropsavenot: "", wcssclassadd: "", wlpagesrefresh: .T., wntabactiveraise: 1.1, wohtmlgen: .NULL.}, BaseClass: Pageframe, Address: erp_form_impianti-erp_pageframe1, Property: ACTIVEPAGE, Value: 2"
Call stack: 01 .processhit (561) > 02 .process (908) > 03 .routerequest (927) > 04 erpprocess.process (2721) > 05 wwprocess.process (272) > 06 erpprocess.ajaxmenuselect (4698) > 07 awajax.menuselect (9242) > 08 awapphost.wmenu_selected (3847) > 09 awmenu.wmenu_selected (1677) > 10 awpopups.wmenu_selected (3053) > 11 awpopup.wmenu_selected (5484) > 12 awpopup.wmenu_selected_set (5606) > 13 _5cr0nymhe (493) > 14 wform (1324) > 15 wformshow (1462) > 16 awajax.dialogadd (16413) > 17 awajax.xmldialogadd (16697) > 18 awajax.xmlpropschangedadd (16133) > 19 awajax.propschangedhtml (14638)


Problem seems to be on

ThisForm._erp_pageframe1.ActivePage = 2

I have in a method exceuted in form.init()

Gravatar is a globally recognized avatar based on your email address. re: Problem opening a form
  FoxInCloud Support - Thierry N.
  Michele
  Jul 23, 2019 @ 01:43am

No idea what happens…

Please do atPJcompileDebugMode to run your app in debug mode; execution should stop on the offending instruction and you can investigate (and/or post here) the various values.

© 1996-2019