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 2 [3] 4 5 ... 9
31
Programming / Re: Reverse Engineer Print @
« on: May 13, 2021, 12:11:22 PM »
thank you Mike / that is perfect...

32
Programming / Reverse Engineer Print @
« on: May 13, 2021, 12:00:46 PM »
Hello All
If I have a text file that contains print @ like this

->print@(0),"Jeff",@(20),"PxPlus",@(50),"Canada"
Jeff                PxPlus                        Canada

I want to convert the string containing the print @ to the nicely formatted with spaces...
is there a way to do that.

Jeff



33
Language / Re: Nomads Adding Security Class to Control
« on: May 03, 2021, 04:11:27 PM »
you are right Jane.
that is the version...
thanks again

34
Language / Re: Nomads Adding Security Class to Control
« on: May 03, 2021, 03:52:58 PM »
Thank you Jane for the quick response Jane.  A lot of folks here are relieved to hear that.

35
Language / Nomads Adding Security Class to Control
« on: May 03, 2021, 03:10:28 PM »
Hello All,

We've used a feature of pxplus for several years now whereby we add a Security Class to a control if the Client requests "That they never want to see that field."
It has worked perfect over the years. No matter what group it is in, no matter what code hides/shows control, the customer will never see it because No One is a member of that security class.

Recently as we have migrated to new versions of pxplus, we are noticing it still hides the control but it leaves the query button on screen.

has anyone seen this and is there any fix we can add to any pxplus programs that could help solve this problem.

Jeff

36
Nomads / Re: Grid Check Box
« on: April 22, 2021, 03:42:17 PM »
Thank you Mike.
I will do this...

37
Nomads / Grid Check Box
« on: April 22, 2021, 02:48:28 PM »
Hi,

i'm working on a grid and i have a check box on grid but the user is complaining that they have to get the mouse right into that square to activate it...is there any way around this where i can increase surface area of clickable region...without making it a button and losing functionality of on/off.

thanks

jeff

38
Language / Re: Signal All Changes Multiline
« on: April 22, 2021, 08:25:05 AM »
Hi Mike,

i'm not doing a grid goto.
i'm using v16.2 .
i have done this before and it worked great (and fast) and customers love it because they can immediately see applicable rows as they type in keywords. 
i've changed the code for now whereby they have to hit <Enter> to execute search (so it is not immediate) and they are fine with that...

here is on change logic: (i hope i'm not doing something silly)

8000 ! ^1000
8010 KEYWORD_SEARCH_ENTERED:
8020 ! -----------------------------------------------------------------------------------
8030 local ROW=0
8040 local ROWSHIGH=0
8050 local TOTAL_KEYWORDS=0
8060 local KEYWORD_MATCH=0
8070 local KEYWORD_ARRAY_INDEX=0
8080 local ROW_HEIGHT=0
8090 ! -----------------------------------------------------------------------------------
8100 let KEYWORD_SEARCH$=ucs(cvs(KEYWORD_SEARCH$,35))
8110 let TOTAL_KEYWORDS=0 ! THIS IS CONTROLLING VARIABLE / IF THIS IS ZERO THEN WE WON'T LOOK FOR KEYWORD MATCH
8120 if not(nul(KEYWORD_SEARCH$)) then {
8130 let TOTAL_KEYWORDS=pos($20$=KEYWORD_SEARCH$,1,0)+1 ! Get Number of Spaces $20$ and add 1
8140 local dim KEYWORD_ARRAY$[1:TOTAL_KEYWORDS]
8150 read data from KEYWORD_SEARCH$,sep=$20$ to KEYWORD_ARRAY${all}
8160  }
8170 ! -----------------------------------------------------------------------------------
8180 let ROWS_HIGH=CUSTOMER_GRID.CTL'ROWSHIGH
8190 if ROWS_HIGH=0 then goto *return
8200 for ROW=1 to ROWS_HIGH
8210 let CUSTOMER_GRID.CTL'ROW=ROW
8220 read data from CUSTOMER_GRID.CTL'ROWDATA$ to iol=CUSTOMER_GRID.CTL'LOADIOLIST$,err=*continue
8230 let G.CUSTOMER_NAME$=ucs(G.CUSTOMER_NAME$)
8240 let KEYWORD_MATCH=1 ! DEFAULT TO MATCH FOUND
8250 if TOTAL_KEYWORDS=0 then goto *break ! IF NOT KEYWORDS THEN JUST BREAK OUT (I.E. SHOW ALL ROWS)
8260 for KEYWORD_ARRAY_INDEX=1 to TOTAL_KEYWORDS
8270 if not(pos(KEYWORD_ARRAY$[KEYWORD_ARRAY_INDEX]=G.CUSTOMER_NAME$)) then {
8280 let KEYWORD_MATCH=0 ! COULD NOT FIND ONE OF THE KEYWORDS SO BREAK OUT
8290 goto *break
8300  }
8310 next KEYWORD_ARRAY_INDEX
8320 let ROW_HEIGHT=tbl(KEYWORD_MATCH<>0,0,1.75) ! SET ROW HEIGHT TO 1.75 IF WE GOT MATCH / OTHERWISE SET TO 0
8330 let CUSTOMER_GRID.CTL'ROW=ROW
8340 let CUSTOMER_GRID.CTL'COLUMN=0
8350 let CUSTOMER_GRID.CTL'ROWHEIGHT=ROW_HEIGHT
8360 next ROW
8370 return




39
Language / Re: Signal All Changes Multiline
« on: April 20, 2021, 12:00:21 PM »
I tried and it did not work. I have done this numerous times before...I changed the results grid to a control and it still doesnt work. I maybe mistaken but i think it is the version of my pxplus.  When i activate signal all changes on a multi-line it does not seem to work... i'm going to remove it and they search will not be interactive for now...

40
Language / Re: Signal All Changes Multiline
« on: April 20, 2021, 10:57:19 AM »
I have not. I'm not sure what that is (Dynamic Property).  I will read about it and try it.

41
Language / Signal All Changes Multiline
« on: April 20, 2021, 10:07:22 AM »
Hi List,
i hope what i'm trying to do is not too outlandish. I've done it before with a grid (changing row height to zero to filter rows) but i'm trying to do with a list box.
Here is scenario.

As the User types into a multi-line [like a keyword search], i want to reload list box with each key stroke... [so on multi-line i have signal all changes]
however after i reload list box i cannot get cursor to stay at the end of the Multi-Line so they can type next character
i've fiddled with selectoffset,selectlength but i cannot get to work.
has anyone had any luck doing anything like this?

Jeff

42
Language / Error 10 (Resolved- Disregard)
« on: April 13, 2021, 01:41:08 PM »
Hi List,

Sorry - it is  registry setting on the machine that was trying to access the share...
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
NoRun=1

i know this is probably permissions but i was hoping maybe someone had some insight as i've never received an error 10

i have certain users who can open up this directory
open (1)\\192.168.1.10\Scans\Orders"

and certain people who get an error 10....

any ideas?

43
Language / Re: bsy/tim=0
« on: March 05, 2021, 11:04:16 AM »
Thank you Ken.

44
Language / PXPLUS / Printer Allocation
« on: March 05, 2021, 10:40:55 AM »
Hello List,
does anyone know what this message is indicative of:

Pxplus / Printer Allocation
Unable to Start Document

i'm assuming it is just a bad link file (do you all agree)

jeff

45
Language / bsy/tim=0
« on: March 02, 2021, 09:23:49 AM »
Hi All,
i'm trying to check if someone is in a purchase order before reserving against it.
I found that if i set tim=0 on extract it does exactly what i want it to do with little to no lag:

extract (po_file,key=po_number$,bsy=*next,tim=0)

Does anyone see any harm in my doing this?

Jeff

Pages: 1 2 [3] 4 5 ... 9