Search found 262 matches

by tsupartono
Mon Jun 19, 2017 9:32 pm
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/JS] Example of TODAY function
Replies: 1
Views: 275

Re: [RPG/JS] Example of TODAY function

Apology for the late response.
This sounds like a bug to me, can you please log a bug report with LANSA Support? Thanks.
by tsupartono
Wed Jun 07, 2017 4:35 pm
Forum: Questions & Answers - RPG and RDMLX
Topic: [COBOL]compile
Replies: 2
Views: 46

Re: [COBOL]compile

Hi Megumi,
The CRTSQLCBLI command should have a Compile type parameter.
You can change that to *MODULE to create a module instead of a program (*PGM).
Then you use the CRTPGM command to create the final program from the module - you can specify the binding directory when calling CRTPGM.
by tsupartono
Wed Jun 07, 2017 1:22 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG]When entering value with keyboard to Barcode element
Replies: 2
Views: 42

Re: [RPG]When entering value with keyboard to Barcode element

It does not currently do that.
Can you submit an enhancement request?
by tsupartono
Tue Jun 06, 2017 4:18 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] Offline System Menus
Replies: 5
Views: 77

Re: [RPG] Offline System Menus

Use Form.Menus instead of System.Menus for form level menu items.
by tsupartono
Mon Jun 05, 2017 2:20 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG]Back to Navigation menu when Enter key is pressed without forcus
Replies: 1
Views: 32

Re: [RPG]Back to Navigation menu when Enter key is pressed without forcus

Hi Megumi,
This sounds like a bug and should be reported to LANSA Support.
by tsupartono
Mon Jun 05, 2017 1:15 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] Offline System Menus
Replies: 5
Views: 77

Re: [RPG] Offline System Menus

To make sure we are talking about the same thing, I have included here a test package that hide/show a menu item using ECL. The attached ZIP file (see below TestMenu.zip) contains a schema (MenuTest.lxp), a resource JS file, and an RPG program. Copy the schema and resource to their respective folder...
by tsupartono
Fri Jun 02, 2017 7:24 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/JS] Using setTimout
Replies: 4
Views: 55

Re: [RPG/JS] Using setTimout

Greg, Scheduled uploads (or any other scheduled activities) can only occur when the user is not currently using the app - parallel processing of two or more operations is unfortunately out of the question (in the context of LR). When a scheduled upload is about to run, LR will ask the user's permiss...
by tsupartono
Fri Jun 02, 2017 7:14 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] Offline System Menus
Replies: 5
Views: 77

Re: [RPG] Offline System Menus

Yes you can definitely change the menu item visibility from the local script. For example, using the ECL script below, I can hide and show the "Human Resources" menu (HRA_MENU) in the longrangedemo.lxp schema. hideMenuItem = function () { lrexec( function () { this.q_setProperty("Syst...
by tsupartono
Wed May 31, 2017 4:21 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/JS] Using setTimout
Replies: 4
Views: 55

Re: [RPG/JS] Using setTimout

It's unfortunately not possible to use setTimeout in that way. We can possibly enhance LongRange so you can schedule an upload to be executed as soon as the server becomes reachable. It should be noted however that in order for the scheduled upload to kick off, LongRange must remain active, and devi...
by tsupartono
Mon May 29, 2017 1:38 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG]Hiding Back button
Replies: 2
Views: 339

Re: [RPG]Hiding Back button

Hi Megumi, There is no direct way to do that right now. The best you can do is to assign a command with blank text as the form view's back command (placement = back command), which should effectively hide the back button. We can add an enhancement in the future, for example a system value, that when...

Go to advanced search