21
Programming / Re: Reverse or limit VER *
« Last post by Peter.Higgins on August 11, 2022, 03:56:15 PM »Yes that was useful to set the 50 limit when someone who made frequent saves joined the crew. 

22
Web Services / Re: Setup EZWeb server on RedHat Linux 8.x Server
« Last post by nmartinez@bristolind.com on August 10, 2022, 07:17:09 PM »Thank you, Mike!
It now takes me to the iNomads System Administration Functions.
Is there a technical document that covers each one of these (iNomads system Administration Functions)?
System Settings -> (TX Maint, Config, Custom)
Template Settings -> (Options, Custom, View/Edit files, Test)
It now takes me to the iNomads System Administration Functions.
Is there a technical document that covers each one of these (iNomads system Administration Functions)?
System Settings -> (TX Maint, Config, Custom)
Template Settings -> (Options, Custom, View/Edit files, Test)
23
Programming / Re: Reverse or limit VER *
« Last post by jasonc on August 10, 2022, 06:54:51 PM »I modified one line of code in '*cmd/system/ver' a long time ago to account for this.
Orig:
if all_ver then goto NEXT_VER
I went back and forth between two options:
if all_ver then if mod(prg_ver,20)=0 then escape end_if ; goto NEXT_VER
or
if all_ver and prg_ver<20 goto NEXT_VER
Just depends on if you want it to only show 20 versions or if you want it to escape after printing 20 versions. Having it escape is a nuisance, but allows you to either RUN to see more or END.
Orig:
if all_ver then goto NEXT_VER
I went back and forth between two options:
if all_ver then if mod(prg_ver,20)=0 then escape end_if ; goto NEXT_VER
or
if all_ver and prg_ver<20 goto NEXT_VER
Just depends on if you want it to only show 20 versions or if you want it to escape after printing 20 versions. Having it escape is a nuisance, but allows you to either RUN to see more or END.
24
Programming / Re: Reverse or limit VER *
« Last post by Mike King on August 10, 2022, 06:31:38 PM »Try setting the +R (PxPlus Revision) system parameter to whatever number of revisions you want the system to maintain.
SET_PARAM '+R'=20 ! Twenty Revisions
SET_PARAM '+R'=20 ! Twenty Revisions
25
Programming / Reverse or limit VER *
« Last post by Peter.Higgins on August 10, 2022, 05:29:54 PM »For a while we've been able to VER 2 for instance to get the date/Time/Version number of a program. This has stopped working recently. Since the system program count is set a 50, VER * is pretty much useless as it only shows the last 10 lines or so. Is there a way to limit or reverse the list?
26
Programming / Reverse or limit VER *
« Last post by Peter.Higgins on August 10, 2022, 05:28:40 PM »For a while we've been able to VER 2 for instance to get the date/Time/Version number of a program and it has stopped working in the last couple of weeks. Since the program count is set a 50, VER * is pretty much useless as it only shows the last 10 lines or so. Is there a way to limit or reverse the list?
27
Nomads / Re: Security property on folder tabs
« Last post by Jane Raymond on August 10, 2022, 11:25:02 AM »My response Aug. 4 was incorrect and should have read:
When a folder with view-only access is drawn, the controls are disabled permanently (or locked in the case of multilines). Program logic to enable/disable controls will have no effect on the disabled/locked controls.
There is currently an issue when creating the controls in this scenario that will be addressed in the next release.
When a folder with view-only access is drawn, the controls are disabled permanently (or locked in the case of multilines). Program logic to enable/disable controls will have no effect on the disabled/locked controls.
There is currently an issue when creating the controls in this scenario that will be addressed in the next release.
28
Web Services / Re: Setup EZWeb server on RedHat Linux 8.x Server
« Last post by Mike King on August 10, 2022, 10:29:00 AM »Assumin you have install PxPlus 2022 (v19), please try changing line 92 in *plus/inomads/inomads as follows:
->load "*plus/inomads/inomads"
->list 92
0092 IF reqd_uid$="" THEN RETURN
->92[THEN]=[then UID_SET=1;]
0092 IF reqd_uid$="" THEN LET uid_set=1; RETURN
->save
->load "*plus/inomads/inomads"
->list 92
0092 IF reqd_uid$="" THEN RETURN
->92[THEN]=[then UID_SET=1;]
0092 IF reqd_uid$="" THEN LET uid_set=1; RETURN
->save
29
ODBC / Re: ODBC and Logic Procedures
« Last post by Danny_S on August 10, 2022, 09:33:55 AM »OK, Never mind, on a hunch I reinstalled the local driver, and now I can see code getting executed...
30
ODBC / ODBC and Logic Procedures
« Last post by Danny_S on August 10, 2022, 07:25:08 AM »Hi List,
I have a view, and try to add Logic Procedures to it. If using the Views, I can see it gets executed, but when I access the View using the Client ODBC Driver I can't see anything happening. Also tried an Object, with the Onload, OnExecute, OnClose, SetInitLogic, SetExecutionlogic and SetCloselogic.
I tried the logic on all levels, and in the logic I just tried to create a file (serial), tried using a Linux path (the ODB server runs on a Linux server), a local Windows path, and a windx [wdx] Windows local path.
My final goal is, based on the prefix (set by the Catalog) to show data in a View, or not, if the user is not allowed. There a 2 main databases for 2 companies, each with their own catalog.
I tried everything I could figure out from the manual, but I think I am missing something to get this working.
Regards,
I have a view, and try to add Logic Procedures to it. If using the Views, I can see it gets executed, but when I access the View using the Client ODBC Driver I can't see anything happening. Also tried an Object, with the Onload, OnExecute, OnClose, SetInitLogic, SetExecutionlogic and SetCloselogic.
I tried the logic on all levels, and in the logic I just tried to create a file (serial), tried using a Linux path (the ODB server runs on a Linux server), a local Windows path, and a windx [wdx] Windows local path.
My final goal is, based on the prefix (set by the Catalog) to show data in a View, or not, if the user is not allowed. There a 2 main databases for 2 companies, each with their own catalog.
I tried everything I could figure out from the manual, but I think I am missing something to get this working.
Regards,