Search found 17 matches

by mwilliams
Wed Jul 03, 2019 7:25 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/LongRange] Database Upload
Replies: 1
Views: 109

[RPG/LongRange] Database Upload

I was wondering if there has been any reported issues using the database upload process. We have an offline mobile application that hasn't been changed in a long time. In that application we have a posting process that uploads data when the phone is connected to the server. It used to work but now, ...
by mwilliams
Tue Oct 30, 2018 3:24 am
Forum: Questions & Answers - RPG and RDMLX
Topic: RPGLE Barcode scan error
Replies: 1
Views: 6750

RPGLE Barcode scan error

We have a customer that is having trouble scanning barcodes in one of our apps using the Google Pixel. He gets an error that says "Text only contains white space(s)[ pos= 0]". They say that this only happens occasionally (a couple times a month) but when it does that LongRange has to be uninstalled ...
by mwilliams
Fri Sep 22, 2017 12:02 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] - Multiple Context Menu Icons
Replies: 1
Views: 1373

[RPG] - Multiple Context Menu Icons

Is it possible to have multiple context menus on a form where each menu could have a different icon?
by mwilliams
Wed Sep 13, 2017 1:44 pm
Forum: Questions & Answers - RPG and RDMLX
Topic: RPG - Detect Space on the phone
Replies: 1
Views: 915

RPG - Detect Space on the phone

Is there currently a way to determine the amount of free space on a phone? We are starting development on a offline app in which the user could select a fair amount of data to download. It may really be a nonissue but was just curious. Also, is there any limits on the space that an app can use to ho...
by mwilliams
Wed Aug 09, 2017 4:06 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/JS]Get the value of GVAR
Replies: 3
Views: 1081

Re: [RPG/JS]Get the value of GVAR

Try just doing

myMessage = value1;
by mwilliams
Tue Jun 13, 2017 1:08 pm
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/JS] Example of TODAY function
Replies: 2
Views: 1516

[RPG/JS] Example of TODAY function

I was wondering if someone could provide an example of using &(F:TODAY()) with a formatting option. I've tried using it to set a variable with no luck. In the following case the variable today is null. I've tried with a date format and without. lrexec ( function () { this.q_sql("?today = SELECT &(F:...
by mwilliams
Tue Jun 06, 2017 2:57 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] Offline System Menus
Replies: 5
Views: 2098

Re: [RPG] Offline System Menus

what you sent worked. I misspoke when I said system menu. I meant more of a form level menu. What I'm trying to do is limit the form level menu options based upon a mode. If the user is in a maintenance type mode, then options like edit/save would be visible. If they are in an inquiry type mode, the...
by mwilliams
Sat Jun 03, 2017 2:14 pm
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] Offline System Menus
Replies: 5
Views: 2098

Re: [RPG] Offline System Menus

Ok, well I'm obviously missing something. If I set the hidden properly in my rpg program and refresh my schema, then the menu item is not visible, but if I do it in a local script when the form loads nothing happens. It stays visible. I know I'm using the right symbolic name because I'm attaching a ...
by mwilliams
Thu Jun 01, 2017 5:38 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG] Offline System Menus
Replies: 5
Views: 2098

[RPG] Offline System Menus

Is it possible to control the visibility of a form's menu item in an offline app? I tried the following and it didn't work.

Code: Select all

initForm = function () {
  this.lrexec(

    function () {
      this.q_setProperties({
        "System.Menus.MOR3501_Edit.Hidden": "True" 
      });
    },

    null
  );
}
by mwilliams
Thu Jun 01, 2017 5:34 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RPG/JS] Using setTimout
Replies: 4
Views: 1295

Re: [RPG/JS] Using setTimout

I would think that it would be a nice/useful feature to be able to set up background processes