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 - Jeffrey Ferreira

Pages: 1 2 3 [4] 5
46
Programming / Handheld *winprt*
« on: August 25, 2020, 12:06:59 PM »
Hello,

Is there anyway when I open *winprt* on a Handheld that the printer box can be smaller so the users can see the controls?
I should have mentioned / I'm using RDP.. i bet if i was using windx then box would be smaller...

thanks in advance

jeff

47
Programming / mysql read / key position
« on: August 18, 2020, 04:53:26 PM »
Hi list (i feel like i saw something about positioning a key on mysql read) but i can't find in search.

i have a mysql keyword table
so keyword is 4015551212
when i read the table
read (keyword,key="4015551212",dom=*next)
the read positions the key to the record right after 4015551212
i found a hack way around it but i would like to fix...
can someone help me
jeff

48
Language / blank pdf [ignore please]
« on: July 28, 2020, 09:21:43 AM »
Hi List,
i am really scratching my head on this...

i have a program that is printing to pdf and the client says the pdf is blank...
so i decided to use that awesome feature "repeat data"

Repeat data did not disappoint...i created another pdf and repeat data  as follows
REPEAT DATA TO REAL_CHAN ON BACKUP_CHAN

the pdf that i created on Backup Chan looks perfect
the pdf that i created on the Real_Chan is blank.

i dont even know what question to ask besides How?

jeff

49
Language / Error 31
« on: July 15, 2020, 09:57:31 AM »
Hello List,

i'm using *plus/web/request;put
call "*plus/web/request;put",err=*next,(URL$),(DATA$),RESPONSE$,RESPONSE_HEADER$,(CONTENT_TYPE$),(CERTIFICATE$),(EXTRA_HEADERS$)

and my program is getting error 31's after running for a while..i see a lot of [tcp] ports opens on hfn channels..
i think *plus/web/request is not closing a file channel, but i see a close in the program...

has anyone else ever had this  issue?

jeff

50
Programming / XCOPY
« on: July 02, 2020, 11:45:43 AM »
Hi List,
i'm trying to backup some data off hours. From what i read about XCOPY on Windows is that it should not lock the file. but i tend to get error 0's in pxplus if someone tries to access the file.  There are very few users on system when i run this but i was just curious
does anyone know a command line way to backup files without causing error 0 in pxplus applications.
thanks
jeff

51
Nomads / copy and pasting from the internet
« on: June 09, 2020, 08:26:29 AM »
Hi List,

I continually have problems where customers copy and paste item_numbers and descriptions from the internet into multi_lines on our system.  Is there any global way to clean this data or do I have to handle it on each multi-line.  I end up with Tabs and CRLF's and it causes havoc in other places.

thanks

jeff

52
Programming / Getting Text of a Program Line Number
« on: June 01, 2020, 10:30:14 AM »
Hi List,

we always put description info on a certain line numbers in our programs...
The method i've been using to get that info has failed at times.
Can anyone provide with a way to get text at a certain line # in a program
thanks

jeff

53
Programming / Disregard -> Automation Process ID
« on: May 07, 2020, 09:23:57 PM »
Hello List,

Even if they click send the .exe (pid) will still be active so this wont work....
thanks anyways

I am invoking an outlook application using automation.
def object obj,"Outlook.Application"

there is a plethora of pvx vars and Office Vars, but I cannot find the process ID of the outlook.exe. I think i could do it by checking for the windows using dll but I thought maybe someone figured out a way to do it....

Jeff

p.s. the reason I want it has to do with active windows...i want to minimize our pxplus erp app until user clicks SEND....

54
Language / Hexadecimal in Associative Array
« on: April 09, 2020, 03:21:23 PM »
Hello List,

is there any issue with putting hexadecimal values as the index of an associative array...
for example

dim LINE_ARRAY
LINE_ARRAY[$00FE00$]=1

It seems to work but am I asking for trouble?

Jeff

55
ODBC / ODBC Client vs Server Version
« on: February 26, 2020, 12:59:20 PM »
Howdy All,

I have a client who is using ODBC File Server version 5.10.0002,
but they read on pxplus website about new features in ODBC Client (i think they mentioned 7)
question for you all....
can a customer use the higher client version with the lower server version.

thanks

jeff

56
Programming / Generic Input
« on: January 20, 2020, 02:26:49 PM »
I'm trying to write a small generic dialogue screen that i can use for quick generic inputs [like enter qty]
on the obtain i was trying to do

i wanted to do something like

repeat
   obtain(0);mode$=hta(eom)
 until mode$=$0D$

i kept getting more data in my mode$ instead of $0D$

20500 ! ^1000
20510 GENERIC_INPUT:
20530 enter (PANEL_TITLE$),(PROMPT$),RETURN_VALUE$,err=*next
20540 let RETURN_VALUE$=""
20550 let PANEL_WIDTH=34
20560 let PANEL_HEIGHT=20
20570 let MULTI_LINE_WIDTH=32
20580 let MULTI_LINE_HEIGHT=1
20590 let MULTI_LINE_Y_POSITION=10
20600 call "CAIREPOS;PRINT_CENTERED_DIALOGUE",PANEL_WIDTH,PANEL_HEIGHT,(PANEL_TITLE$)
20610 print 'caption'(PANEL_TITLE$),
20620 print 'text'(@x(1),@y(3),@x(32),@y(8),PROMPT$,"W")
20630 let MULTI_LINE_CTL=100
20640 multi_line MULTI_LINE_CTL,@(1,MULTI_LINE_Y_POSITION,MULTI_LINE_WIDTH,MULTI_LINE_HEIGHT),fnt="*",opt="X"
20650 if not(nul(PANEL_TITLE$)) then let COLUMN_HEADING$=PANEL_TITLE$
20660 set_focus MULTI_LINE_CTL
20680 let RETURN_VALUE$=""
20690 let MODE$=""
20700 obtain (0)NIU$
20720 multi_line read MULTI_LINE_CTL,RETURN_VALUE$,MODE$
20760 print (0,err=*next)'pop',
20990 exit

57
Thin Client/WindX / Most Common Setup
« on: October 15, 2019, 10:03:39 AM »
Hello List,

I have a question re: Common setup environments for Non-Web pxplus.
are people running the pxplus "application server" on a linux machine and then running windx to connect to that "Application Server"
i'm just curious what is the most common setup out there.

we are running rdp to a windows server...(and i dont think that is what most developers are doing)

thanks

jeff

58
Programming / Determining Printer from Print Channel
« on: September 25, 2019, 09:33:32 AM »
Hello List

I know we can determine a printer from winprt_setup read printer$.
But if i have a call program that i pass print_channel into, is there a way i can determine the printer by examining the print channel.
like a FIN or something

Jeff

59
Nomads / Right Click on Grid
« on: September 03, 2019, 04:05:49 PM »
Hello List,
When we make our own right click menu for a grid. We lose the pxplus print function that allows us to print grid.
I tried to make my own menu option to  fire off *LIB\_PLUS\WINUTL\LISTPOPUP;PRINT_LIST but it just hangs saying "Loading" in the viewer.
Is there any way for me to have the best of both worlds.
Custom Pop-Up and a PxPlus Print.

jeff

60
Nomads / Firing Off Query
« on: August 28, 2019, 08:55:43 AM »
Hello List,

Is there a way to fire off a query attached to a multi-line if user hits <enter> on field.
Maybe something like this in On Change Logic:

if _EOM$=$0D$ and NUL(CUSTOMER$) then fire off query?

Jeff

Pages: 1 2 3 [4] 5