PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Report Writer Passing .pvr argument  (Read 340 times)

Jon Toomsen

  • Member
  • **
  • Posts: 9
    • View Profile
Report Writer Passing .pvr argument
« on: April 29, 2022, 09:19:52 AM »
It appears when passing a document.pvr; Word Wrap and Variable Line Height are set to off when the original .pvr has those settings as on. There is a .pvrlib object involved.

Jane Raymond

  • Staff
  • Diamond Member
  • *****
  • Posts: 263
    • View Profile
    • PVX Plus Technologies
Re: Report Writer Passing .pvr argument
« Reply #1 on: May 02, 2022, 11:20:59 AM »
Does the cell with the word wrap have anything in it? If it is empty, the word wrap setting will be ignored. And if there are no cells with word wrap in a line, then variable line height is ignored.


If the above is not the case, then please refer this matter to our helpdesk:
https://helpdesk.pvxplus.com
Let us know the version of Pxplus that you are using, and if you could supply a sample .pvr file it would be very helpful.
Jane Raymond
Software Developer
PVX Plus Technologies Ltd.

Jon Toomsen

  • Member
  • **
  • Posts: 9
    • View Profile
Re: Report Writer Passing .pvr argument
« Reply #2 on: May 02, 2022, 01:45:32 PM »
pxplus 1820 attached .pvr
using syntax PROCESS "Design","*rpt/rpt.en",designPath$
« Last Edit: May 02, 2022, 01:47:05 PM by Jon Toomsen »

Jane Raymond

  • Staff
  • Diamond Member
  • *****
  • Posts: 263
    • View Profile
    • PVX Plus Technologies
Re: Report Writer Passing .pvr argument
« Reply #3 on: May 02, 2022, 02:08:41 PM »
Jon,
Looking at the .pvr file, the Detail L1 is set to variable height, and column 17 of that line (with Note$) is set to word wrap.
Using PxPlus 18.20, I loaded the report definition into the Report Designer. When I checked column 17, word wrap was turned on and Detail L1 was set to variable height.
So I cannot duplicate what you have found.


If anyone can shed further light on this issue, please respond.
Jane Raymond
Software Developer
PVX Plus Technologies Ltd.

Jon Toomsen

  • Member
  • **
  • Posts: 9
    • View Profile
Re: Report Writer Passing .pvr argument
« Reply #4 on: May 02, 2022, 04:36:18 PM »
use the following from command prompt or equal then save
process "Design","*rpt/rpt.en","C:\0\t9_timetransactionreport.0022.pvr"

Jane Raymond

  • Staff
  • Diamond Member
  • *****
  • Posts: 263
    • View Profile
    • PVX Plus Technologies
Re: Report Writer Passing .pvr argument
« Reply #5 on: May 03, 2022, 08:59:38 AM »
Jon,
I opened the report as instructed. The blue triangle in the left corner of the row header cell for the line tells me that the row has variable line height. If I click on the Note$ cell to highlight it, then right click and select Bulk Edit Cell Format, then the display indicates that Word Wrap is turned on for that cell.


What may be confusing things here is that if you right click on the cell and select Cell Format, then Word Wrap, there is no indication whether Word Wrap is on or off. Similarly, when you right click on the row header and highlight Variable Line Height, there is no indication as to the current setting. We enhanced the menus in PxPlus 2021 to add checkmarks to the menus to indicate current selections for the current cell. (If multiple cells are highlighted, checkmarks may not appear if the selection is not consistent across the multiple cells.)

Jane Raymond
Software Developer
PVX Plus Technologies Ltd.

Jon Toomsen

  • Member
  • **
  • Posts: 9
    • View Profile
Re: Report Writer Passing .pvr argument
« Reply #6 on: May 03, 2022, 11:57:47 AM »
I'm in some kind of rabbit hole - I'll let it set a bit.