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

Pages: 1 ... 7 8 [9] 10 11 12
121
Nomads / Re: copy and pasting from the internet
« on: June 09, 2020, 09:58:09 AM »
i did and i will do that...but it seems like every time i fix one multi line they do it on another.....
that is probably the answer ...

122
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

123
Programming / Re: Getting Text of a Program Line Number
« on: June 03, 2020, 07:46:28 AM »
Hi Ken,

this does indeed work: lst(pgm(x,tcb(12)))

i should have clarified that I was trying to access the line # from another running program

so PR0G01 is running - it is a utility that searches Program Descriptions in other programs.
PROG01 reads thru a directory that contains: PR0G02, PROG03 etc
and i want to get say line 10 from PR0G02 AND PROG03....
that is what i was trying to accomplish

and so far that *pg.cnv is the best i have...
it converts program to text and i read thru until i encounter line #

thanks

jeff

124
Programming / Re: Getting Text of a Program Line Number
« on: June 01, 2020, 02:55:33 PM »
that was it.
thank you so much.
i'm getting 100% hits now

125
Programming / Re: Getting Text of a Program Line Number
« on: June 01, 2020, 01:11:19 PM »
Hi Rob, that worked great but then it failed at one account...it seems to come back still encrypted...
all i'm doing is the following

call "*pg.cnv","PROG1","s:\jeff\jeff.txt"

and at one account it comes back encrypted ..if you have any ideas that would be great...
I dont think it is pxplus version because i have it working on an old  version and a new version...

126
Programming / Re: Getting Text of a Program Line Number
« on: June 01, 2020, 11:52:18 AM »
Or is there a way to convert and entire pxplus program to a text file and then i can parse it?

127
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

128
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....

129
Language / Re: Hexadecimal in Associative Array
« on: April 09, 2020, 04:13:43 PM »
Thanks Mike,
i will get rid of my long compound strings and convert to associative arrays.
jeff

130
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

131
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

132
Programming / Re: Generic Input
« on: January 20, 2020, 02:40:13 PM »
Hi Keith,

when I do
mode$=hta(eom)
if i stop and print it the value of
mode$ is 00800064

jeff


133
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

134
Thin Client/WindX / Re: Most Common Setup
« on: October 16, 2019, 02:44:17 PM »
Mike and Jeff,

thank you both for your responses..
this is exactly the information i was looking for.

jeff

135
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

Pages: 1 ... 7 8 [9] 10 11 12