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.
31
Programming / Preview / Viewer Object
« on: April 06, 2023, 02:15:54 PM »
Hi List,
A long time ago Gord Davey helped me invoke a viewer object where i could interact with the viewer. I have lost the code and I cant remember how to do it. Can anyone help me with that?
thanks
jeff
A long time ago Gord Davey helped me invoke a viewer object where i could interact with the viewer. I have lost the code and I cant remember how to do it. Can anyone help me with that?
thanks
jeff
32
Language / Re: *X Mnemonic / Print Channel Timing Question
« on: March 07, 2023, 04:32:30 PM »
Thank you Allen and Mike. I appreciate it.
33
Language / Re: *X Mnemonic / Print Channel Timing Question
« on: March 07, 2023, 11:19:05 AM »
Hi Allen,
thank you.
so closing the file (again) is not forbidden or bad.
jeff
thank you.
so closing the file (again) is not forbidden or bad.
jeff
34
Language / *X Mnemonic / Print Channel Timing Question
« on: March 07, 2023, 10:16:30 AM »
Hi All,
i'm trying to use *X mnemonic to print to a text file and email to customer.
But i noticed that when I enter the call entry point the file is still open and locked for that matter.
I added another close inside of the call routine and that worked (i could access file).
But is this correct / good practice?
Jeff
i'm trying to use *X mnemonic to print to a text file and email to customer.
But i noticed that when I enter the call entry point the file is still open and locked for that matter.
I added another close inside of the call routine and that worked (i could access file).
But is this correct / good practice?
Jeff
35
ODBC / Re: ODBC Date Issue
« on: March 03, 2023, 03:47:08 PM »
So I just spoke to our Product Manager. Our dates in this file use the format:
DATE-MM/DD/AA
the AA was a Legacy Y2K Data Class. Could that be the issue?
jeff
DATE-MM/DD/AA
the AA was a Legacy Y2K Data Class. Could that be the issue?
jeff
36
ODBC / Re: ODBC Date Issue
« on: March 03, 2023, 02:52:22 PM »
Hi Mike
1.) it returns all the data
2.) i did have a key so i tried the order by and it did not work....
but to be sure i tried on another date field (no key) ...stilll did not work
3.) Order by primary key (no date in key) - did not work
4.) I think the data class might be the problem...
i'm going to take this off line...thanks for the info..
1.) it returns all the data
2.) i did have a key so i tried the order by and it did not work....
but to be sure i tried on another date field (no key) ...stilll did not work
3.) Order by primary key (no date in key) - did not work
4.) I think the data class might be the problem...
i'm going to take this off line...thanks for the info..
37
ODBC / Re: ODBC Date Issue
« on: March 03, 2023, 02:25:02 PM »
Devon can i bug you with one last question...
when you say ODBC expects YYYY/MM/DD are you saying that my date needs to be stored in the pxplus Data Dictionary as YYYY/MM/DD -> because our dates are stored as MM/DD/YY in the pxplus data dictionary.
or are you just saying the WHERE clause needs to be in 'YYYY/MM/DD' format.
jeff
when you say ODBC expects YYYY/MM/DD are you saying that my date needs to be stored in the pxplus Data Dictionary as YYYY/MM/DD -> because our dates are stored as MM/DD/YY in the pxplus data dictionary.
or are you just saying the WHERE clause needs to be in 'YYYY/MM/DD' format.
jeff
38
ODBC / Re: ODBC Date Issue
« on: March 03, 2023, 11:50:43 AM »
I just tried it with Excel Power Query and that failed too. I tested it against another database we have (mysql) and that worked. Is it possible there is something wrong with the 7.00 ODBC Driver. This worked when we were using 4.21.
jeff
jeff
39
ODBC / Re: ODBC Date Issue
« on: March 03, 2023, 09:20:19 AM »
Devon,
i'm sorry i was just pseudo coding it quick to give you all an idea what i was trying to do
i'm not creating the SQL Select (Excel is).
jeff
i'm sorry i was just pseudo coding it quick to give you all an idea what i was trying to do
i'm not creating the SQL Select (Excel is).
jeff
40
ODBC / ODBC Date Issue
« on: March 03, 2023, 08:14:56 AM »
Hi All,
We are using ODBC Driver 7.00.
If we do the following in Excel
Select Order_Number, Order_Date from "Open Orders" WHERE Order Date > "09/01/2022"
it returns every order up until 12/31/2022 and does not return anything from 2023
if we do
Select Order_Number, Order_Date from "Open Orders" WHERE Order Date > "01/01/2023"
then it returns the 2023 orders
has anyone ever seen this or know what i could be doing wrong?
thanks
jeff
We are using ODBC Driver 7.00.
If we do the following in Excel
Select Order_Number, Order_Date from "Open Orders" WHERE Order Date > "09/01/2022"
it returns every order up until 12/31/2022 and does not return anything from 2023
if we do
Select Order_Number, Order_Date from "Open Orders" WHERE Order Date > "01/01/2023"
then it returns the 2023 orders
has anyone ever seen this or know what i could be doing wrong?
thanks
jeff
41
Programming / Outlook Appt or Meeting
« on: January 30, 2023, 01:15:51 PM »
Has anyone ever been able to send an email via *web\email to create an Outlook Meeting or Appointment?
Not sure if it is even possible.
jeff
Not sure if it is even possible.
jeff
42
Programming / Re: Passing a COM Object to a CMD
« on: November 18, 2022, 10:33:25 AM »
Thank you - I will try it out.
43
Programming / Re: Passing a COM Object to a CMD
« on: November 18, 2022, 07:48:55 AM »
Hi Stéphane ,
I was hoping there was something that already existed. I should have looked harder. However when i run it it says pvxtlb.exe does not exist? I'm running version 1710-001 on windows...should it be there?
thanks
jeff
I was hoping there was something that already existed. I should have looked harder. However when i run it it says pvxtlb.exe does not exist? I'm running version 1710-001 on windows...should it be there?
thanks
jeff
44
Programming / Passing a COM Object to a CMD
« on: November 17, 2022, 05:06:39 PM »
Hi List
I was trying to do the following
def object excel_obj,"Excel.Application"
I then created a *cmd\PO to parse object and return values for troubleshooting...
if i do
call "*cmd\PO",excel_obj it works
but if i do
PO EXCEL_OBJ
i get an error 36 ..i don think it sees it as a numeric...i seem to remember something like *VARIANT
can anyone shed any light on this?
thanks
jeff
I was trying to do the following
def object excel_obj,"Excel.Application"
I then created a *cmd\PO to parse object and return values for troubleshooting...
if i do
call "*cmd\PO",excel_obj it works
but if i do
PO EXCEL_OBJ
i get an error 36 ..i don think it sees it as a numeric...i seem to remember something like *VARIANT
can anyone shed any light on this?
thanks
jeff
45
Programming / Re: Associative Arrays
« on: October 17, 2022, 11:32:11 AM »
Thanks Mike
that is exactly what i am looking for.
jeff
that is exactly what i am looking for.
jeff