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 ... 13
16
Language / Re: Error 17
« on: January 11, 2024, 07:48:34 AM »
Hi James,
i have not tried it yet.i thought with the multiple image format extension i could use the other formats. but i will give that a try.
thanks
jeff

17
Language / Error 17
« on: January 10, 2024, 03:07:10 PM »
Hi List,

we have a grid that displays images for the different options a customer can pickup.
i'm trying to set the 'bitmap$ option and i'm getting an error 17
it is an older version of pxplus (15.##)
does anyone know what would cause this
i tried a jpg and a png file and i get same error

jeff

18
Language / Re: Error 11
« on: August 07, 2023, 01:56:55 PM »
i guess it is possible. but it is such a small file. i did a keyed load on it and i'll check to see if it happens again...thank you

19
Language / Error 11
« on: August 07, 2023, 11:29:15 AM »
Hi All,
I had an odd situation happen.
I do this thing where I first create record to make sure it exists before I extract it.
I got a dom on line 21027 and i cannot figure out why?
does anyone have any insight on how this could/might happen

20002 let MFIM01=unt; open (MFIM01,iol=*,rec=CF$)"MFIM01"
21024 let CF.SALES_ORDER_NUMBER$=SALES_ORDER_NUMBER$
21025 let CF.LOCK_ALLOCATIONS$="Y"
21026 write (MFIM01,dom=*next) ! Do Not Step On Record If It Exists
21027 extract (MFIM01,key=SALES_ORDER_NUMBER$,kno=0)



20
Language / Re: ** DISEGARD ** -> Mixed Case in Keys
« on: August 03, 2023, 02:12:22 PM »
Hi Jane,

That is really interesting:

"if a key segment is defined as uppercase, for example, you can use a mixed case key value when reading by key and it will still find it"

Thank you.  I will chat with some folks at our office.

jeff

21
Language / Re: Mixed Case in Keys
« on: August 03, 2023, 12:17:05 PM »
Never mind. I just realized something. Even if there was a feature that forced the key to uppercase (while data remained mixed), I would still have to change all my code to force what i'm reading with to uppercase. Please disregard...sorry

22
Language / ** DISEGARD ** -> Mixed Case in Keys
« on: August 03, 2023, 12:07:07 PM »
Hi List,
i was about to embark on a project for a client and i figured i better confirm the following before i begin.

we have an index -> The Customer's PO Number
sometimes it comes in Mixed Case .......

my question is -> are Keys always case sensitive...
i'm pretty sure the answer is yes but i dont want to start this workaround unless i'm 100% sure....i just want to make sure there is no cool feature in pxplus that i'm unaware of

thanks

jeff

23
Nomads / Re: Checking if 'Fired Off From' Nomads
« on: July 14, 2023, 10:17:44 AM »
Mike that is perfect ...thank you...

24
Nomads / Checking if 'Fired Off From' Nomads
« on: July 14, 2023, 09:17:23 AM »
Hi All,

So often times we will gosub or perform a routine that is also the code behind a multi-line. For Example CUSTOMER_ID_ENTERED. 

When we want to know if this came from nomads or from code we check ID$="CUSTOMER_ID".
I know it may seem like I'm splitting hairs but i feel this is not 100% foolproof and i have case where I really need to know (was this routine fired off from Nomads via the multi-line)

is there a way i can be 100% sure?

thanks

jeff

25
Programming / Re: Screen Position of a Control
« on: June 26, 2023, 07:53:20 AM »
Hi Mike,

I'm just experimenting with something where i'm trying to auto click a button if it pops up during an automated process.

jeff

26
Programming / Re: Screen Position of a Control
« on: June 21, 2023, 03:44:28 PM »
i think i figured it out.
this obj command gave me the position in pixels.
i was then able to reference it in powershell and hover mouse over button..
that is what i was looking for

1520 let WINDOW_OBJ$=obj(0)
1530 let WINDOW_COLUMN=int(dec(WINDOW_OBJ$(21,2)))
1540 let WINDOW_LINE=int(dec(WINDOW_OBJ$(23,2)))
1550 let BUTTON_OBJ$=obj(BUTTON_1.CTL)
1551 let BUTTON_COLUMN=int(dec(BUTTON_OBJ$(21,2)))
1552 let BUTTON_LINE=int(dec(BUTTON_OBJ$(23,2)))

27
Programming / Screen Position of a Control
« on: June 21, 2023, 08:44:27 AM »
Hello All,

i'm trying to figure out where a pxplus control is positioned relative to the monitor not relative to the pxplus panel.
i'm also not sure what is standard unit of measure for stating this (i think it is pixels)
can anyone help me out?

thanks

jeff

28
Programming / Re: Create/Update Excel Workbook
« on: June 06, 2023, 02:42:57 PM »
Oops - I thought that was Tom posting that.

29
Programming / Re: Create/Update Excel Workbook
« on: June 06, 2023, 02:30:11 PM »
Hi Tom,
I'm not sure at what point you are getting the error, but are you at least able to do this:

def object excel_obj,"Excel.Application"
filename$="c:\temp\customers.xls" ! Replace filename$ with your file name
workbook=excel_obj'workbooks'open(filename$)

can you get that far without an error?

jeff

30
Nomads / Re: HTML Tip
« on: May 22, 2023, 08:22:17 AM »
Hi Mike
i was trying to mimic what the editor was doing so i did something like this

<p>Hinge Locations are measured from Top of Door</p>
<p>Hinge Location 1: 7-12</p>
<p>Hinge Location 2: 7-12</p>
<p>Hinge Location 3: 7-12</p>

and it put a scroll bar (this is a general summary of html...any how i changed it to just
put <br/> after each line and the scrolling stopped...but i would like to know if i did anything wrong.
i dont think i was exceeding a limit.

Pages: 1 [2] 3 4 ... 13