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 - bbssupport

Pages: [1]
1
Nomads / Multi Line - On Double Click Event
« on: September 06, 2022, 07:33:41 PM »
Hi All,

Simple question that I think the answer is No but thought I'd ask.

Is there a way to set the attributes in such a way to fire the focus or on-change event when a multi-line control is double-clicked on?

I've tried IF POS($020D$:_EOM$)<>0  then MSGBOX "Test" in the on focus logic but it only executes when focus is first given to the control. On change doesn't appear to fire on a double click even when Auto and Signal on Exit are enabled.

Thanks
Chris

2
Nomads / Spell Check TinyMCE
« on: October 21, 2021, 06:14:32 PM »
Hi All,

I cannot seem to get the TinyMCE spell check functionality working on v18.1 in nomads using the provided control. I'm using the standard built-in extended layout. Any ideas?

See attached.

Chris


3
Nomads / Version 18 / 2021 Nomads
« on: August 20, 2021, 02:17:10 AM »
Hi All,

Has anyone that uses Nomads heavily started upgrading their user base to the new version 18 yet?

We have slowly started rolling out to our users and have noticed a couple of minor problems.

The first we can work around, but I thought i'd note it down here in case it was a bug that PxPlus wasn't aware of. The  _QLST_DEF$[X,0] variables are now no longer populated with the original list box format when a panel is drawn (although the array is still defined). We were using this variable where a list box format is defined in nomads but then logic in our program alters the list box logic to add/remove/shrink/grow columns as required. We are working around this by setting the variable when the panel is first opened, or by reading the format out of the nomads library file. Not ideal but we can work around it.

The second is a strange issue that is seemingly randomly occurring since updating users to V18. We appear to have the word 'BLACK' being placed in string variables we are using to hold prices. These string variables and linked to multi lines on our nomads panels. I know prices should probably be stored in numeric variables but the string variables allow us to format the price as we see fit, allow our users to enter formulas etc in the pricing fields, and we just convert string variables to numeric variables when we need to perform calculations. We obviously have traps to ensure users can't enter letters in these sorts of fields, and yet somehow 'BLACK' is appearing in those variables and causing an error 26 in calculations. It is either the variable that is getting corrupt, or the multi line that is being populated with the value which is updating the variable but without triggering the on change logic (as if it was, the variable would be set back to "" and would return the user to the field to 'try again'.)

It's occurred three times this week in two different version 18 installations.

Error dump of error #1:
COST$="BLACK"+$00$+"0"

Error dump of error #2:
PRICE$="BLACK"

And the same for #3:
PRICE$="BLACK"

I can assure you that our code is not setting the word 'BLACK' anywhere! So far, I've yet to be able to replicate the issue on demand which makes it really hard to trace.

A couple of things to note.
1. We do use visual classes on all our controls, not sure if the problem is coming from there given that black is the default text colour.

2. All our cost and price fields are validated and formatted by a global function. (see below)
PROCESS_PRICE:
LET PRICE$=FN%PRCENT$(PRICE$,TAXRATE,%SELLPMASK$); IF PRICE$="ERR" THEN LET PRICE$="",NEXT_ID=PRICE.CTL; RETURN
RETURN

Our global functions haven't changed between versions 16 and 18 of PxPLus but maybe its possible that somehow the data being passed back from the function is getting corrupt?

Anyone else having any issues like this with the new version?

Chris

4
Language / Error 49 in call program
« on: May 06, 2021, 08:32:28 PM »
Hi All,

Since implementing visual classes and themes across our application, we have been experiencing seemingly random error 49s in call programs. These happen a few times a day for users across our Server 2012 R2 Azure VMs running either PxPlus v16.2 or v17.0. Most commonly, the error occurs in a single program with the odd few errors occurring in other programs.

The main program in question would be executed tens of thousands of times a day as it is our 'standard program exit routine'.

The line of code in question that reports the error is 0110 IF TCB(12)>1 THEN EXIT.

The error details are:
Error Number        : 49
Error Description   : <*> Internal program format error <*>
Error Line          : 110
Programming Level   : 6
Program Path        : OUT             

We use SET_PARAM 'PC'=100 so i'm thinking it is related to the program cache somehow.

I'm unable to forcably replicate the error which is frustrating!

We recently had another issue where records read from data files were being corrupted in memory due to pending file writes to encrypted data files. PxPlus advise they have fixed this in the next release (due this month).

I'm thinking that the program cache is getting corrupted as well.

Has any one else experienced a similar problem to the one above? I'm starting to worry there may be other memory management issues that I haven't come across yet....

Chris

5
Programming / Calendar on Multi-Line
« on: December 15, 2020, 09:09:45 PM »
Hi All,

We would like to be able to initiate the built in calendar pop up on multi-lines from within our own code. Is this possible?

The reason is that we use embedded query buttons that activate via the F2 key (not SHIFT-F2) and the built in calendar options in nomads only allow for the button to be external and don't initiate on an F2 like all our other queries do.

Thanks in advance.

Chris

6
Programming / PasteFilter cannot be turned off
« on: December 09, 2020, 07:48:40 PM »
With version 17.1 It appears the new paste filter isn't working correctly - see attached image.
I also cannot turn the pastefilter option off system wide. I've tried:
PRINT 'OPTION'("PasteFilter",0),
PRINT 'OPTION'("PasteFilter","OFF"),
PRINT 'OPTION'("PasteFilter","DISABLE"),
and
SETDEV (0) SET "PasteFilter" TO 0
SETDEV (0) SET "PasteFilter" TO "OFF"
etc

This is causing users must grief. How do we get this fixed?

7
Nomads / Custom Resize Logic
« on: November 29, 2020, 05:12:48 PM »
Hi All,

I'm wondering if there is a way that I cannot see in the documentation to initiate a custom resize program post-resize on nomads panels.

I found that I could use the alternate panel feature to execute pre-resize code, but cannot find a programming hook to run post-resize code.

An example of where this is useful is after a resize I could check if the panel is wider than the list box columns and set the AutoColSize=1 to get the columns to expand out.... or code in which columns we want to expand and which we don't.

Ideally a new feature to be able to lock some column sizes in a list box when AutoColSize=1 so only some columns grow...and another feature to say columns only grow and cannot shrink would be amazing! However i'm happy to handle this myself in code if I can find the correct hook to latch the code onto.

Thanks in advance!
Chris

8
Nomads / Themes and Panel Background Colours/Colors
« on: November 22, 2020, 11:12:03 PM »
Hi All,

I'm stuggling to implement themes and visual classes in my application in the effort to improve the look and feel of our applications. We are using v16 of PxPlus, NOMADS for all panels (except the odd old CBI screen we still have) and have previously simply defined a Black-on-Light Grey colour scheme in the library defaults for each of our libraries and then just adjusted the colour, size, font etc on individual controls as needed.

The first thing I need to be able to achieeve is to set the panel background colours from a startup program so I can control which systems have which background colour. I've tried setting the library defaults to Default-on-Default and then setting the %NOMAD_Pnl_Def_Colour$="RGB: 217,235,247" variable but it doesn't seem to work. I have had some success with PRINT '_COLOUR'("LIGHT GREEN"),'DF', however that causes my character based panels to also turn light green. Trying to control and change the '_COLOUR' option between the CBI and GUI panels is very difficult as CBI screens (which are 'BLUE' by default) often open up GUI screens (which need to vary in colour depending on our needs).

I have attempted to start using themes and visual classes to accomplish this as well, however there doesn't appear to be an option in either to set the panel background colour ONLY. I can set the default background colour....but then list boxes, multi_lines etc all change as well. If i then start defining themes for each control type, i then have to create 100 different visual classes to accomidate all the minor colour/font size changes that appear on multi_lines and list_boses on panels throughout our system.

So in short, how do I set the global panel background colour for all our nomads panels without affecting other controls? Is the only way to set them in the library defaults and then have no runtime control over the colour?

9
Language / 'XK'
« on: August 12, 2020, 01:17:20 AM »
Hi PxPlusers!

I've been playing around with the XK parameter on a few of our data files but i'm not seeing much of a reduction in file size or increase in performance. Running the test programs from the users guide gives me the results described, so its just possible that the files i'm converting don't benefit much from the enhanced VLR format. I would like to do away with segmenting however, so I would like to convert all our files across to the newer format.

Can someone advise
1) is there a way to see (eg using FID/FIN etc) if a file is an enhanced VLR file (ie was created with the XK parameter turned on).
and
2) do i have to completely recreate each file with the XK parameter set, including the data dictionary, copy the data across, and then replace the original file with the new file? I read somewhere that you can issue a 'keyed load' to convert an enhanced VLR file back to a standard VLR so that it can be read by older PVX/PXPLUS versions.... does the same apply the other way?

Thanks :)

10
Registration and Setup / CCP License Temporary Activation
« on: May 25, 2020, 08:50:51 PM »
Hi All,

I asked this question through my dealer but the answer I got from PxPlus didn't make any sense to me so I thought I'd ask here in case there was a misunderstanding.

Lets say I have a set of registration keys for a license from back when it was purchased and they are for version 13. This license is on CCP. When installed, we used the online registration to activate the license on version 16 and this works because the online activation system knows the license is on CCP. All works well.

Now lets say that customers server crashes and we have to restore from a backup to new hardware, or we for some other reason need to urgently migrate the customer to a new server. I need to get the customer up and running on a temporary license, and then request a license move or reset once they are back in business and we can breathe again.

The keys we have on file are for version 13, so if I install v16 and try to apply the v13 keys to get them up and running we receive errors like 'not activated for this software package'. If i try to run the online activation to make the software realize that these keys have CCP associated with them we receive the message 'This serial is already registered'.

If i install version 13 (or lower), and apply the activation keys, I will be able to get the system running in a temporary state...again if i run the online activation i'll receive 'This serial is already registered' which doesn't allow me to then install v16 using the same key file and the keys (as far as it can see) are for v13 still....

So how do we overcome this in an emergency situation where we need to install a temporary activation but we only have the keys for an older version?

This issue recently came up due to some poor planning on our part when migrating a customer to a new server where we forgot until the 11th hour to request a license move. Luckily we were able to get the move initiated by PxPlus just in time for the migration. We need to have an internal procedure in place to ensure we can activate our software out of hours in a data emergency (especially since we are on the other side of the world from PxPlus) to ensure business continuity for our clients.

Your help please!

Thanks,

Chris

11
Nomads / Hotlink Logic
« on: October 03, 2019, 08:56:42 PM »
Hi All,

In v16.1. I've defined a column in a report view list box as a hotlink in the Format screen in Nomads. The column appears as a hotlink in the panel now, but I cannot work out how to assign logic to process the user clicking on the hotlink, nor can I see any variables changing that I could interrogate in my PROCESS logic even with the list box is set to automatic.

I'm loading the contents on the list box in my own logic, ie I do not use smart loading from a query.

Can someone please help?!?! This looks like an amazing feature that we would love to start implementing throughout our system.

Chris

12
Language / Sort File 2GB Limit
« on: September 23, 2019, 08:54:15 PM »
Hi All,

We have just had a customer hit a 2GB limit on a sort file. We have multi-segmenting enabled and it works for VLR files but i'm guessing not for sort files?

Problem is, if we convert this file to a VLR or EFF, even with a RSZ of 1, the file grows from 2GB to 3.5GB which seems excessive.

Does anyone have any other method to get around this, or am I stuck with just changing the file to VLR across all our systems?

Thanks,

Chris

Pages: [1]