PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: martinp on September 16, 2024, 04:11:37 PM

Title: Maintenance Generation Error #26
Post by: martinp on September 16, 2024, 04:11:37 PM
Tried the new Maintenance Generation, always get an error #26 at end

*win/fm_wiz_regen

0024 if vis(element$)<>"" then let template_string$+=element$+"="+vis(element$)+$01$


Quick debugging shows ELEMENT$ was "iolist SETTING$"

This is after clicking FINISH.
Title: Re: Maintenance Generation Error #26
Post by: martinp on September 16, 2024, 04:31:03 PM
Fixed!

I think the reason is my iolist is in Lower case, but the program is trying to replace upper case, i changed to lower case no more error.

0007 let elements$="iolist SETTING$,STD_OBJECT$,UPDATE_PROP$,NEW_PROP$,CLEAR_PROP$,AUTO_SAVE_PROP$,INQUIRY_PROP$,CONFIRM_NEW_PROP$,CONFIRM_DEL_PROP$,ACK_WRITE_PROP$,ACK_DELETE_PROP$,PNL_POSITION$,PNL_COL,PNL_LINE,BROWSE_OPT$,EMBED_LIB_BROWSE$,EMBED_PNL_BROWSE$,EMBED_POS_BROWSE$,BROWSE_TAB$,BUTTON_OPT$,EMBED_LIB_BUTTONS$,EMBED_PNL_BUTTONS$,EMBED_POS_BUTTONS$,BUTTON_TAB$,EMBED_LIB_PANEL$,EMBED_PNL_PANEL$,EMBED_POS_PANEL$,TBAR_OPT$,TBAR_LIB$,TBAR_PANEL$,TBAR_EXPR$,THEME$,OBJ_MENU$,OBJ_SIGNAL$,OBJ_MINIMIZE$,OBJ_MAXIMIZE$,OBJ_NOCLOSE$,OBJ_AUTO_REFRESH$,OBJ_AUTO_CLOSE$,STATUS_BAR$,OBJ_SCRN_DRAG$,OBJ_RESIZE$,SCREEN_FRAME$,TEMPLATE$,PROMPT_ALIGN$,PROMPT_COLON$,PROMPT_ASTERIX$,PNL_SPACING,TAB_SEQ$,OBJ_FONT_NAME$,OBJ_FONT_SIZE$,OBJ_FONT_ALIGN$,TEXT_VISUAL_CLASS$,HORIZ_SPACING,DISPLAY_OPTIONS$,POSITION$,TAB_WIDTH,AUTO_ADVANCE$,OFFSET,TAB_HEIGHT,FRAME_STYLE$,VISUAL_CLASS$,DEFAULT_TEMPLATE$,SHOW_VISUAL_CLASS$,FORM_TYPE$,INCLUDE_HTML$,INCLUDE_HTML_POS$,FLDR_HEIGHT,WEBSTER_TEMPLATE$,SIDEBAR$,FOLDER_SPACE$,FOLDER_ADV_LINES$,"
0008 let elements$=sub(elements$,"IOLIST ","")
0009 let elements$=stp(elements$,"R",",")+"," ! ensure a trailing comma

The program may need a mod to check for both upper/lowercase or the PRM that controls that.
Title: Re: Maintenance Generation Error #26
Post by: martinp on September 16, 2024, 05:34:28 PM
Also, It's very slow in a remote windx session of nomads instead of a LAN when it gets to the Grid section.  it takes about 90 seconds for it to respond when it first arrives at section #6, then its responsive, but when you click Next it takes another 90 seconds.  So some inefficient grid logic I believe.

I can use it on a remote desktop LAN though
Title: Re: Maintenance Generation Error #26
Post by: Susan Cryderman on September 18, 2024, 01:52:14 PM
Thanks very much for reporting this issue and the solution!  We will ensure the program is updated prior to the next release.

We will also review the code with respect to the performance issues you are seeing using WindX.