This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Nomads / Auto Complete not working in multiple sessions?
« on: Today at 01:56:47 PM »
While testing an update to a panel, I opened the old version in one session and the new version in a second session on the same workstation. Whichever session I first access for the autocomplete seems to lock out the other session; it's still a multi-line, but doesn't create the auto-complete drop-down.
Is there something I'm missing/not setting up? Any suggestions welcome.
Is there something I'm missing/not setting up? Any suggestions welcome.
2
Programming / Re: Howto INCREASE External Key Size on DIRECT/KEYED files
« on: May 10, 2023, 12:29:41 PM »
The text-based utility that exists in PxPlus will copy from one file to another with the option to "restructure" it in the process. From command level, you can:
call "*U" -> F -> C
Follow the prompts, and you should be able to figure it out. You'll need to copy to a new file name and then do some renaming afterwards.
call "*U" -> F -> C
Follow the prompts, and you should be able to figure it out. You'll need to copy to a new file name and then do some renaming afterwards.
3
Nomads / Re: Unexpected Preinput on Panel Exit
« on: May 08, 2023, 04:50:30 PM »
Thanks, Loren. That wasn't exactly the problem, but it was close enough to find it.
I had our standard Exit button defined with "X" as the hotkey. I also defined a menu entry for Exit with the "X" hotkey. Changing the menu entry from E&xit to &Quit resolved the problem.
I had our standard Exit button defined with "X" as the hotkey. I also defined a menu entry for Exit with the "X" hotkey. Changing the menu entry from E&xit to &Quit resolved the problem.
4
Nomads / Re: Unexpected Preinput on Panel Exit
« on: May 08, 2023, 02:13:04 PM »
The strange has just gotten a bit stranger...
No changes to the panel or programming, just a change in the calender from the first week of May to the second. The preinput characters changed from "BN" to "'&" and "BL" to "'$".
I specifically tested the Alt-X on a field that had no attached logic or attributes other than "Tab Stop". Using Alt-X loads the characters into the input buffer, but clicking the Exit button itself does not.
Anyone with any insights on this?
No changes to the panel or programming, just a change in the calender from the first week of May to the second. The preinput characters changed from "BN" to "'&" and "BL" to "'$".
I specifically tested the Alt-X on a field that had no attached logic or attributes other than "Tab Stop". Using Alt-X loads the characters into the input buffer, but clicking the Exit button itself does not.
Anyone with any insights on this?
5
Nomads / Re: Unexpected Preinput on Panel Exit
« on: May 05, 2023, 09:33:29 AM »
Mike,
Thanks for the quick response. I just re-checked, and no, there are no extra Signal Attributes assigned.
This is part of the standard embedded panel we've set up with the navigation and action buttons to replace the standard NOMADS button set. It works fine on all the other panels it's embedded on, which makes this even stranger, since there's a multi-tab folder on at least one of those.
The Button Pressed logic for the E&xit is:
Execute: Perform Default_Prog$+";Check_changes";cmd_str$="END"
Thanks for the quick response. I just re-checked, and no, there are no extra Signal Attributes assigned.
This is part of the standard embedded panel we've set up with the navigation and action buttons to replace the standard NOMADS button set. It works fine on all the other panels it's embedded on, which makes this even stranger, since there's a multi-tab folder on at least one of those.
The Button Pressed logic for the E&xit is:
Execute: Perform Default_Prog$+";Check_changes";cmd_str$="END"
6
Nomads / Unexpected Preinput on Panel Exit
« on: May 04, 2023, 05:09:53 PM »
We're running a character-based menu system that will run an existing CUI program or PROCESS a NOMADS panel, based on file parameters. I've created a new NOMADS F/M and when I exit by clicking the appropriate button, all is well. However, when I use the Alt-X hotkey I have set up for the Exit button, I get unexpected characters in the menu program's typeahead buffer.
We have other panels that are PROCESSed off the menu without incident, but this one, for some reason, works differently. (We're not using the NOMADS Security processing.) It's a panel with a few controls, a TitleBar, an embedded panel, and a folder on it. We have 2 options: Full Access and Inquiry Only, based on a file-based permissions list. The menu starts the Full Access version with 7 tabs on the folder, but if the user is identified as Inquiry Only, part of our Pre-Display routine PROCESSes a 3-tab version and exits with Cmd_Str$="END". While it doesn't seem to make any sense that there would be a difference, the 7-tab Full Access version drops "BN" into the input buffer, while the 3-tab version drops "BL" in. If I include a PRINT 'CI', in the Exit button's logic, the characters don't show up.
Any insights would be appreciated!
We're running PxPlus v15.10 on Linux RedHat with WindX on Windows 10 Pro workstations.
We have other panels that are PROCESSed off the menu without incident, but this one, for some reason, works differently. (We're not using the NOMADS Security processing.) It's a panel with a few controls, a TitleBar, an embedded panel, and a folder on it. We have 2 options: Full Access and Inquiry Only, based on a file-based permissions list. The menu starts the Full Access version with 7 tabs on the folder, but if the user is identified as Inquiry Only, part of our Pre-Display routine PROCESSes a 3-tab version and exits with Cmd_Str$="END". While it doesn't seem to make any sense that there would be a difference, the 7-tab Full Access version drops "BN" into the input buffer, while the 3-tab version drops "BL" in. If I include a PRINT 'CI', in the Exit button's logic, the characters don't show up.
Any insights would be appreciated!
We're running PxPlus v15.10 on Linux RedHat with WindX on Windows 10 Pro workstations.
7
Programming / Re: REMOVE failing if record not EXTRACTed
« on: March 22, 2023, 03:54:14 PM »
Tried to re-create the problem, but couldn't. When I manually write the file and REMOVE, it's all OK. Here's the create string:
KEYED "PFILE",[1:1:4]+[2:1:8]+[3:1:5]+[4:1:5]+[5:1:5]+[6:1:2]+[7:1:2]+[8:1:2],[1:1:4]+[2:1:8]+[15:1:4]+[3:1:5]+[4:1:5]+[5:1:5]+[6:1:2]+[7:1:2]+[8:1:2],0,-1024,BSZ=8,OPT="2",SEP=$8A$
There are 14M records in the EFF file, totaling 9GB. It's been around for YEARS, and just threw this one out. I thought it might be a file structure problem, so I ran a File Utility Check on it...no problems.
Strange occurrence. If it happens again, we'll see about the helpdesk ticket.
Thanks for the consideration.
KEYED "PFILE",[1:1:4]+[2:1:8]+[3:1:5]+[4:1:5]+[5:1:5]+[6:1:2]+[7:1:2]+[8:1:2],[1:1:4]+[2:1:8]+[15:1:4]+[3:1:5]+[4:1:5]+[5:1:5]+[6:1:2]+[7:1:2]+[8:1:2],0,-1024,BSZ=8,OPT="2",SEP=$8A$
There are 14M records in the EFF file, totaling 9GB. It's been around for YEARS, and just threw this one out. I thought it might be a file structure problem, so I ran a File Utility Check on it...no problems.
Strange occurrence. If it happens again, we'll see about the helpdesk ticket.
Thanks for the consideration.
8
Programming / REMOVE failing if record not EXTRACTed
« on: March 21, 2023, 09:39:37 AM »
We have a multi-keyed file with 2 keys; the first has 8 components, the second has 9. When we tried to manually remove an entry, the REMOVE wouldn't work unless we EXTRACTed the record. It turns out that the primary key had a null key field element. I wouldn't think that should cause it to require an EXTRACT to be REMOVEd. (BTW, the file has almost 14M records.)
Any insights?
Any insights?
9
Programming / Re: Syntax error in IF with string expressions
« on: March 13, 2023, 08:44:14 AM »
Like with Ken, I've found that most mixing of a simple string$ with anything in a boolean-type test will generate an Error 20. What I've done is to essentially transform it all to numeric/boolean testing, like not(nul(X$)), which would work in all boolean cases.
BTW, Ken, "if X$=A$ and 1" is a viable test, as the X$=A$ yields a boolean result.
BTW, Ken, "if X$=A$ and 1" is a viable test, as the X$=A$ yields a boolean result.
10
Programming / Re: Strange if then else behavior
« on: March 08, 2023, 09:36:37 AM »
Yes, it looks like it should. If you add a brace before the second IF and close it at 35, it works fine. Evidently, if you {group statements} for the THEN, it's expected for the ELSE as well.
11
Nomads / Synchronized Scrolling
« on: February 22, 2023, 10:18:42 AM »
Is there a way to synchronize the horizontal scrolling of 2 list_boxes? The panel isn't wide enough to display the full width of the main list, which has the detail lines. We're setting up a second list of 1 line that has the totals for certain columns in the main list. By synchronizing them, the totals will always appear below the columns they refer to.
Similarly, if the user changes a column's width, is there are way to detect that and replicate it in the other list?
Thanks in advance, all!
Similarly, if the user changes a column's width, is there are way to detect that and replicate it in the other list?
Thanks in advance, all!
12
Nomads / Re: Resizing without Resizing
« on: February 21, 2023, 03:55:38 PM »
Looks pretty good, Mike!
The only thing is that it goes through the resize logic a second time, so it does a "double-take" when starting up.
Thanks for the idea!
The only thing is that it goes through the resize logic a second time, so it does a "double-take" when starting up.
Thanks for the idea!
13
Nomads / Resizing without Resizing
« on: February 21, 2023, 01:59:29 PM »
When we set up many of our panels, we set them as Resizable/Custom with the various controls anchored how we want them. Part of this is to ensure we don't have any (including a logo picture) trying to be set up beyond the edges. I've noticed that this essentially sets the minimum size of the panel based on the designed size. This only allows the user to make the panel larger, but not smaller.
Has anyone got an idea about how to set a small minimum size, but initialize the panel at a somewhat larger "default" size, which would allow the user to resize the panel larger or smaller?
Thanks, all!
Has anyone got an idea about how to set a small minimum size, but initialize the panel at a somewhat larger "default" size, which would allow the user to resize the panel larger or smaller?
Thanks, all!
14
Language / Re: Detecting Multi-Segment Split File
« on: February 06, 2023, 08:36:54 AM »
We're looking to segment the data by date, so the historical data doesn't need to be backed up all the time. We have existing embedded io routines that apply new data writes to other related files that are used for exporting to and updating other systems. These are defined by the base file name, not the segment's name.
15
Language / Re: Detecting Multi-Segment Split File
« on: February 02, 2023, 05:08:40 PM »
Thanks, but i don't know if that will help us...
Is there a way to determine if a file is a segment in a segmented file? That's what's being provided by the fin(lfa,"Filename") to our embedded io routine. We only need the base filename, not the actual segment name.
Is there a way to determine if a file is a segment in a segmented file? That's what's being provided by the fin(lfa,"Filename") to our embedded io routine. We only need the base filename, not the actual segment name.