PxPlus User Forum

Twitter Twitter Twitter

Show Posts

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.


Topics - PMM_CAI

Pages: [1] 2
1
Programming / IT editor: Go To line focus
« on: March 01, 2024, 10:14:25 AM »
(I wasn't sure how to word the subject line)  ;)

In the IT editor, if I go to a particular line -- let's say the first line in a routine/method -- is there a way to have the line load at the top of the display? The line in question loads partway down the screen, and I often have to scroll down to see the entirety of a routine that I might not need to if that first line appeared at the top. (By the way, we use line numbers in our installation.)

Just wondering if there's a way, for efficiency's sake. Thanks in advance!

Paula McKeever
CAI Software LLC

2
Registration and Setup / PxPlus Help on Win 2022
« on: October 18, 2023, 09:52:04 AM »
First time experiencing a Win 2022 server. Have PxPlus 2022 installed. The built-in Language Help (via the Help menu) does not display content on the right panel?
Might that be an issue with the 64-bit OS not playing nice with the HTML Help version? Or other?

Thanks in advance.

Paula McKeever
CAI Software

3
Programming / Data Dictionary Update *dict/dd_updt
« on: August 08, 2023, 04:09:47 PM »
Greetings. The Data Dictionary Update pgm *dict/dd_updt: it looks as though it returns error descriptions, not error numbers. If one's code happens to call it, will checking the err variable immediately upon returning from the call contain the error number associated with the returned message?

Thanks in advance.

Paula McKeever
CAI Software LLC

4
Language / DD numeric definition for SQL validation
« on: February 05, 2023, 04:05:35 PM »
Greetings all. Our rule of thumb with Data Dictionary numeric elements is to make them delimited, and we define them using this example in the PxPlus manual:

6.2: 6 represents total length of the field, including explicit signs and decimals, where applicable; 2 represents scaling factor or number of decimal places

So from that, we get that 999.99 is valid, but 9999.99 is too large, because the integer portion of the number is 6 minus 1 (the decimal point) minus 2 (the decimals), which is 3.

But when we consider the checkbox "Force Data Validation on Write/Update," the validation of the integer portion of the number -- using the above example -- appears to max out at 5 digits (decimal point separate), not 3. The documentation references the IOLIST directive for more detail about this data validation.

We're planning to expand our numerics so that, when exported to SQL, they are large enough to not cause an invalid number error of some kind. Does anyone know if the SQL validation follows the PxP validation rules?

I.e. if we have a 6.2 element, then it would accept a 99999.99 (or -99999.99), and by extension 999999.99 would cause an error?

Examples for illustration would be greatly appreciated. TIA,

Paula McKeever
CAI Software

5
Nomads / Security property on folder tabs
« on: August 03, 2022, 12:14:47 PM »
(using PxPlus 2020, Windows server)
Greetings. This concerns the Security property on panels. There are some particular circumstances, as follows:

* Panel X with multi-line Y and dropbox Z, initially disabled
* Panel X has several tabs; let's call them X.1 and X.2
* Panel (tab) X.1 Security has, let's say...
   * Full access for Classification MGR
   * View-only access for Classification USER (we need that view access so that the tab always draws for everyone; everyone has at minimum the USER classification assigned to them)
* The situation in which we encountered this was a file maintenance type panel, but I confirmed this happens with a panel with tabs that was not generated as FM

So if a MGR launches the panel, the two objects are initially disabled as expected. If they then navigate to the first record in the file, that executes a process that enables the objects, because for a MGR, they should be enabled.

But for a USER, we expect the objects to remain disabled, and in fact for multi-line Y, the panel Security keeps it disabled. But dropbox Z enables, and that is not the behavior we expected. (This also happens when we try assigning the security to dropbox Z itself)

I look forward to your feedback.

Paula McKeever
CAI Software LLC

6
iNomads / Calendar Object: 1) display alignment 2) null value
« on: June 08, 2022, 10:43:16 AM »
Hello. Using PxPlus 2020. Is there a way to have a calendar object on a multi-line display =above= the m-l instead of below it?

My m-l control is low on the web page, and when the user clicks on the calendar's button, it pops partially below the visible area, and the user has to scroll down a little.

My other question is more to get a sampling of how are people handling the following scenario. If the date multi-line is null, the calendar pops as "Undefined 2000", and the user has to click on the year link, then the month link (the "Undefined") to get to a more approximate date. One solution is to default the date to today's date, but I'm not sure we want to do that in our particular business application. So I'm wondering if there are any creative solutions out there.

TIA!

Paula McKeever
CAI Software, LLC

7
Nomads / Panel Compares (LIBCREP) in v 18.20
« on: April 26, 2022, 04:17:14 PM »
I see that in PxP 2021 (v 18.20), when I do a panel compare, the LIBCREP panel now has a visual class assigned to the listbox. I'm guessing that's what changed the listbox font from a fixed font to a proportional font, so now the output no longer lines up visually. We're used to the fixed font because that way, we can more easily identify differences in the compares.

Was there a reason the font was changed for v 18, and if one were to remove the visual class from that listbox, would that mess things up?

Thanks!
Paula McKeever
CAI Software LLC

8
iNomads / Calendar Objects in iNomads
« on: March 07, 2022, 05:11:23 PM »
Hello. I've tried to get input from PvxPlus about this for the past six months via the support ticket queue, so now I'm trying the Forum.

I created a very simple panel/multiline with a Calendar object, barebones because I'm trying to just get it to work. See attached.

The specific Calendar object's definition is in the other screenshot attachment.


When I test it in regular Nomads by selecting a date from the popup calendar, it returns a date.
When I test it in iNomads by clicking on a date in the calendar, it returns nothing.
If I use my arrow keys to navigate to a new date and hit Enter, it kicks me out.

Has anyone had any luck with the calendar objects in iNomads?

Postscript added later: We've tried this in v. 2020 (17.10) and 2021 (18.20).

Thanks in advance.

Paula McKeever
CAI Software LLC

9
Programming / Data mirroring to SQL server
« on: May 12, 2021, 04:30:37 PM »
Greetings. We have a client that upgraded to PxPlus 2019 Update 2 a few months ago. Before their upgrade, we had been successfully using data mirroring to push their data to a SQL server. We have an AR file for them where the key is Customer + Invoice Number + Invoice Type. Invoice Type is a single character element, and it can be a blank space. (In fact, it frequently is; the ones with alphanum in it are less common.)

When the record is new, the mirroring/insert works fine, for any invoice record.
But when it is updating an existing record, the mirroring/update does not result in the table getting the updated data...if the record's Invoice Type is a blank. If the Type has an alphanum in it, it successfully updates the SQL table.

We have not gotten to the point yet of trying to step through it because of the complexity and the timeframe to dig down into it. And I'm not sure if watching our PxPlus command of write(channel) will tell us anything. Does this information trigger any sort of "aha!" explanation? TIA.

10
Language / %Z__PVXDDF$ global
« on: October 12, 2020, 11:49:50 AM »
Hello everyone. I hope you are all doing okay during this time.

Data Dictionary question. Can someone please give me a better understanding of the purpose of the %Z__PVXDDF$ global, and which programs -- apart from *dict/maint -- use it and how/why? TIA!

Paula McKeever
CAI Software LLC

11
Language / password protected data files
« on: October 12, 2020, 11:32:09 AM »
Greetings all; hope this finds everyone well during this time.

A question re: password-protected (PP) data files. We have a utility that runs through our data files, and it's supposed to run unattended, no interaction until it completes. As it loops through the files, the code attempts an open input on each (primarily to determine if it exists). With the pwd protection on a file(s), it now pops the prompt for the pwd if the file in question is PP. See attached.

So the question is: can we somehow predetermine that it is PP without the user interaction. The PxPlus panel in question, in the pgm _ext\system\get_pswd, launches automatically. I couldn't see a way to trap it before the panel displays. If a file is PP, we'll skip it.

TIA!

Paula McKeever
CAI Software LLC

12
Nomads / Panel Compare
« on: March 11, 2020, 04:36:50 PM »
Hello. Using PxPlus 15.10. I've only just noticed this now, and it looks like it's been in Nomads for years, but...when the panel compare looks at text values, it does not consider case:

6030 if COMP$<>"C" then goto 6070 else if lcs(ITEM_OLD$)=lcs(ITEM_NEW$) then goto 6160

So e.g. "THIS IS A LABEL" vs. "This is a label" on a Fonted Text object does not show up on the compare results.

I don't suppose there's any consideration of making this case sensitive in some future release, the way that the Panel Search has a checkbox for case?

Thanks!

Paula McKeever
CAI Software

13
Programming / patch utility
« on: March 10, 2020, 03:03:32 PM »
Using PxPlus 15.10. There appears to be a limit to the number of characters in a line that the *patch utility will apply. We use *patch constantly, and it's been recently discovered that if a line is of a certain long length, the patch utility will put only a certain number of characters in. The utility will not report there being a problem (i.e. no message), and eventually we discover that our patched program has a syntax error because the line is chopped short. We're not sure if it's always been this way and we're only noticing it now, or if it's a recent development.

There's no documentation about the *patch utility, and the program is password protected.

Thanks in advance!

14
Programming / providex.dde - null records?
« on: November 06, 2019, 11:26:35 AM »
We're currently using PxP 15.10 for our inhouse development. But we've been using the product since the days of ProvideX. That includes the Data Dictionary. Has anyone else noticed that in providex.dde, there is sometimes a record that has just the 6-digit serial # in the key -- i.e. no 6-digit sequence number making up the rest of the key -- at the front of a serial file's .dde records. And the iolist is null. Was there a time when, say, ProvideX used to instantiate one of these (header-like??) recs when writing .dde recs? Or are they just symptoms from a hiccough that might have occurred during a DD Maint process? We don't have them for all our serial #s; only some.

I also am wondering whether it's safe to delete them. For now, we're leaving them alone. Thanks!

Paula McKeever
CAI Software, LLC

15
Language / Embedded I/O program?
« on: October 31, 2019, 09:42:40 AM »
Hello! Using PxP 15.10. What's the way to find out the name of the embedded I/O pgm in a data file? We have a file that must have had an embedded I/O prgram updated into it, and then it was removed from the DD. But the physical file itself appears to still have the reference to it, and I'm guessing the program no longer exists b/c I'm getting an error 121 when I pull up the DD entry for the file. Thanks in advance.

Paula McKeever
CAI Software

Pages: [1] 2