PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: [1] 2 3 ... 10
1
Programming / Re: Source code formatter
« Last post by Mike King on Today at 05:27:00 PM »
There is one built into ED+.

Simply load the program into ED+ then select Tools >> Reformat from the menu bar. 

You can then save the resultant as a sequential file.
2
Programming / Source code formatter
« Last post by pwhirley on Today at 05:03:09 PM »
Has anyone out there written a source code formatter for PXPlus programs?  I use Eclipse with a plug-in developed and maintained by Fred McGuirk.  It does a great job of decompiling PXPlus programs into text source, but it does not attempt to do any pretty formatting.  I am considering writing a tool to do the formatting (i.e. remove LET, replace "THEN" with "{", indent IF and loop constructs, etc).  I don't want to write it if someone else has already done so.

Phil
3
ODBC / Re: ODBC Service Crashing
« Last post by Mike King on April 29, 2024, 05:48:48 PM »
Jeffrey

The issue may be related to invalid data in your file.  PxPlus doesn't, by default, validate that the data you write into the files matches the data dictionary specifications. On the other hand, ODBC access relies on the fact that the data adheres to the specifications.

What might be happening is that there is a field whose contents is larger than expected thereby causing a memory access problem.

To check this try running the Verify Data option on the Database export utility.  Basically pretend you are going to export your data to a database, launch the export utility from the data dictionary and select "Verify Data".  It should read through your file and check that the file contents adheres to the Data Dictionary specifications.

Good luck
4
ODBC / Re: ODBC Service Crashing
« Last post by Jeffrey Ferreira on April 26, 2024, 09:49:28 AM »
Hi Deven,

The Power BI Reports are specific to this one company so no it is only happening at this company. But i have more companies asking to query data using power bi

jeff


5
ODBC / Re: ODBC Service Crashing
« Last post by Devon Austen on April 26, 2024, 09:40:14 AM »
The crash is happening in a Microsoft Windows DLL: ntdll.dll.

Is this only happening on this one Windows system?

Is it reproducible on other systems?
6
ODBC / Re: ODBC Service Crashing
« Last post by Jeffrey Ferreira on April 26, 2024, 09:18:00 AM »
I upgraded to version 7.10 and the service still crashes with this generic error.  The problem is I keep having more and more customers wanting to use Power BI to connect to our data.
7
Language / Re: EXTRACT not locking?
« Last post by Mike King on April 19, 2024, 02:49:23 PM »
This is actually a Linux issue.  Record locking is done by placing a Write lock against the file however Linux doesn't allow us to add a write lock to a read only file.

Also, since the EXTRACT directive can be used to position the file PxPlus could not return the error. A fairly common coding technique looking to read records starting with a known record key is to use an EXTRACT to the desired starting record then create a loop doing a standard READ next.  The EXTRACT positions the file such that a subsequent read next will return the extracted record making the coding cleaner.
8
Programming / Re: Spawning a session
« Last post by James Zukowski on April 19, 2024, 11:56:58 AM »
That's an interesting twist. Haven't tried that before.

How about defining the panel as a Child Dialogue (maybe with Synchro-Lock)?
9
Programming / Re: Spawning a session
« Last post by Mike Hatfield on April 18, 2024, 09:39:00 PM »
What if the application is not Nomads - Character only?
10
Language / Re: Different Listbox Row Heights with Accented Characters
« Last post by James Zukowski on April 18, 2024, 03:16:34 PM »
This also seems to cause a problem with descenders, too. In the latest example, is that "Hague" or "Haque"?

Does anyone know if this is PxPlus or Windows behavior? Is there some setting I'm not setting?
Pages: [1] 2 3 ... 10