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.

Messages - EVa

Pages: [1] 2 3 4
Programming / Re: Spawning a session
« on: April 18, 2024, 03:19:11 AM »
As this appears to be a Nomads application, can't you use a concurrent window instead of spawning a new (but completely separate) session ?

Programming / Re: accessing mySQL-DB
« on: March 26, 2024, 05:08:25 AM »
A temporary work-around is to downgrade the mariadb3 package to version 3.1.13-3.30.1 - the PxPlus MYSQL interface works correctly with that version.

Programming / Re: accessing mySQL-DB
« on: March 26, 2024, 04:54:28 AM »
PvxPlus Technologies is looking into this.

Programming / Re: accessing mySQL-DB
« on: March 14, 2024, 04:53:23 AM »
Can you tell me the Linux version that you are using (I assume it's the 64-bit version of both the OS and PxPlus) ?

Programming / Re: accessing mySQL-DB
« on: March 13, 2024, 11:57:13 AM »
I'm running CentOS8, my MariaDB library version is:


Your program codes works without an error in v20.10 (64-bit).

ODBC / Re: UPdtae table send me message column not found
« on: February 29, 2024, 05:44:45 AM »
I can't help you with that - you need to contact whoever created the file/dictionary entry as it looks like these do not match.

ODBC / Re: UPdtae table send me message column not found
« on: February 28, 2024, 03:20:45 AM »
Doesn't happen here, but I don't have your dictionary information.  When my table has this data:

ADDRESSLINE1$="addressline #1"
ADDRESSLINE2$="addressline #2"
ADDRESSLINE3$="addressline #3"

and I execute this update:  UPDATE AR1_CustomerMaster SET CustomerName='California Metal Services Inc ' ,AddressLine1= '1428 W Mission Road ',AddressLine2= '1430 ',AddressLine3= ' ',City='ESCONDIDO ' ,State= 'CA ' ,CountryCode= 'SA ' where   Division='00' and CustomerNumber='CMS'

the table then has this data:

ADDRESSLINE1$="1428 W Mission Road "
CUSTOMERNAME$="California Metal Services Inc "

which is correct.  If this doesn't work for you, I would suspect that the dictionary information isn't correct.

ODBC / Re: UPdtae table send me message column not found
« on: February 27, 2024, 04:15:08 AM »
It works here when I replace " with ' :

UPDATE  AR1_CustomerMaster  SET  CustomerName='California Metal Services Inc ' ,AddressLine1= '1428 W Mission Road ',AddressLine2= '1430 ',AddressLine3= ' ',City= 'ESCONDIDO ' ,State= 'CA ' ,CountryCode= 'SA ' where   Division='00' and CustomerNumber='CMS'

ODBC / Re: Serius I complete missing undesrtand odbc
« on: February 21, 2024, 03:06:40 AM »
For starters, you could enable debugging to see if there's a difference the 1st and 2nd time you connect.  Also, this appears to be a rather old version of the ODBC driver as it says 'ProvideX' in the title bar ?

Programming / Re: Error 114 recovery
« on: January 17, 2024, 03:12:04 AM »
If an open fails, you will need to open the file in binary mode, for example:

open input(1,isz=1)"filename"

Then use read record(1,siz=size)d$ to read the binary contents (size needs to be a multiple of 256 and a file has a file header, key blocks, inventory blocks, data blocks, etc).  Assuming you know what the data looks like, you can then search 'd$'.

Programming / Re: temporary error 11
« on: November 29, 2023, 04:44:16 AM »
Can you show us the FIN(file,"FILE_CREATE") for that file ?

Programming / Re: Menu Bar Height and Font
« on: August 31, 2023, 03:46:29 AM »
AFAIK, the menu appearance is a global (Windows) setting.  You used to be able to change the menu font size in the Control Panel, under Appearance and Personalization, Display, but they have removed that item (Display) in more recent Windows versions.  There's a 'System Font Size Changer' tool that still allows you to change the menu size though.

Doesn't this work:

0025 LET SOMETHING=(NUM(MID(STK(-1),1,5))=0)

If I'm not mistaken, the line number of the caller when in console mode is '0'.  If you're in a program, it's the actual linenumber of that program.

Programming / Re: Transform pdf to base 64
« on: August 24, 2022, 04:15:08 AM »
I can't reproduce this - here's what I did:

PxPlus-2019 Web (Ver:16.10/UNIX-Linux-RedHat) Serno:1610-664-0xxxxxx
(c) Copyright 2005-2018 PVX Plus Technologies Ltd. (All rights reserved)
  Website: http://www.pvxplus.com
->010 BEGIN
-:0020 LET BASE64_FILE$="/tmp/50_09790301_13_200_002_led_kalender.base64"
-:0030 LET PDFFIL$="/tmp/50_09790301_13_200_002_led_kalender.pdf"
-:0040 OPEN (1)"*PDF*;FILE="+PDFFIL$+";OVERWRITE"; LIST (1); CLOSE (1)
-:0050 ERASE BASE64_FILE$,ERR=*NEXT                                   
-:0060 CALL "*web/base64;ENCODE_FILE",PDFFIL$,BASE64_FILE$           
-:run                                                                 .                     
-:open input(1)base64_file$;print rcd(1)

I open the base64 file in gedit, copy the contents and paste them on that website.  The result is the attached picture (the correct PDF contents).

Web Services / Re: Setup EZWeb server on RedHat Linux 8.x Server
« on: August 16, 2022, 02:54:20 AM »
And what does line 160 of program ltstulip.pxp look like ?

Pages: [1] 2 3 4