Search found 310 matches

by soa
Mon Feb 18, 2019 4:17 pm
Forum: Questions & Answers
Topic: Debug an RDMLX Trigger
Replies: 2
Views: 2008

Re: Debug an RDMLX Trigger

Thanks for the response Mark. I'm trying to do this from a green screen function.
by soa
Mon Feb 18, 2019 12:18 pm
Forum: Questions & Answers
Topic: Debug an RDMLX Trigger
Replies: 2
Views: 2008

Debug an RDMLX Trigger

I need to debug a trigger. This is straightforward with RDML I just press F10 but I can't work out how I do this for RDMLX. Is this possible?
by soa
Fri Nov 09, 2018 10:25 am
Forum: Questions & Answers
Topic: XPRIM_JSON
Replies: 2
Views: 1473

Re: XPRIM_JSON

Thanks for the prompt response, Tony.
by soa
Fri Nov 09, 2018 10:06 am
Forum: Questions & Answers
Topic: XPRIM_JSON
Replies: 2
Views: 1473

XPRIM_JSON

Is there a way to delete an element (say a string or number) from a json object?
by soa
Mon Nov 05, 2018 11:41 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 2175

Re: Deploy on android and ios?

PWAs can request permission to access device resources, exactly like apps.
by soa
Mon Nov 05, 2018 10:10 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 2175

Re: Deploy on android and ios?

Just to clarify further. VLWEB can already do 99% of what is required to be a PWA, its just a question of packaging. A VLWEB can run on any platform that supports a modern browser and can be designed to run offline. What distinguishes a PWA is that from a browser the app can be installed locally, ap...
by soa
Fri Nov 02, 2018 8:56 am
Forum: Questions & Answers
Topic: Deploy on android and ios?
Replies: 6
Views: 2175

Re: Deploy on android and ios?

What we need here is a Progressive Web Application (PWA). See https://developers.google.com/web/progressive-web-apps/ for more details. This would allow us to create applications that could be delivered via the web but install themselves on the desktop as an icon and be managed identically to a 'nor...
by soa
Fri Oct 12, 2018 11:43 am
Forum: Suggestions for Product Enhancements
Topic: Built in Function Error Handler
Replies: 0
Views: 9485

Built in Function Error Handler

Currently if an error occurs in a Built In function call the function crashes. It is not always possible to check all possible crash conditions.

It would be nice to have an on_error(*next) so these things can be handled gracefully.
by soa
Thu Oct 04, 2018 12:28 pm
Forum: Questions & Answers
Topic: Rich Text Editor
Replies: 2
Views: 1374

Re: Rich Text Editor

Thanks Mark. I'll have a look at that.
by soa
Thu Oct 04, 2018 10:36 am
Forum: Questions & Answers
Topic: Rich Text Editor
Replies: 2
Views: 1374

Rich Text Editor

I'm sure I read somewhere in this forum that a rich text editor had been developed (using quill.js) for use in frameworks and that this was based on a widget that could be used in vlweb but I can't find it. Anyone got any information on this?
by soa
Fri Sep 21, 2018 8:34 am
Forum: Questions & Answers
Topic: LANSA V14 SP1 with OS/400 V7R3M0 and Java V1.7.0
Replies: 3
Views: 1991

Re: LANSA V14 SP1 with OS/400 V7R3M0 and Java V1.7.0

We have used this combination without issue for quite a while (and recently v14 SP2 & Java 8 as well).
by soa
Fri Sep 21, 2018 8:31 am
Forum: Questions & Answers
Topic: Searching all cells in a MD Datatable
Replies: 3
Views: 950

Re: Searching all cells in a MD Datatable

Thanks.Great response i'll give that a go.
by soa
Thu Sep 20, 2018 4:50 pm
Forum: Questions & Answers
Topic: Searching all cells in a MD Datatable
Replies: 3
Views: 950

Searching all cells in a MD Datatable

I want to search all cells in a material data table for a string with this sort of logic For each Row in List found = false for each Col in Row if item value contains 'Search string' found = true leave endif Row.Visible = found end for end for Can this be done? I can see a columns collection but not...
by soa
Mon Sep 10, 2018 3:24 pm
Forum: Questions & Answers
Topic: #XPRIM_HttpRequest & Base64
Replies: 2
Views: 1090

Re: #XPRIM_HttpRequest & Base64

Thanks for the prompt response Tony. I didn't know about the WriteBase64StringFromFile method.
by soa
Mon Sep 10, 2018 11:10 am
Forum: Questions & Answers
Topic: #XPRIM_HttpRequest & Base64
Replies: 2
Views: 1090

#XPRIM_HttpRequest & Base64

I am trying to send a file in a json object using the following code Define_Com Class(#XPRIM_Binary) Name(#MyFileBinary) #MyFileBinary.FromFile Path(#ifslnm) . . . #RootObject.InsertString Key('project') String(#MyFileBinary.AsBase64String) #Request.Content.AddJsonObject( #RootObject ) #Request.DoPO...
by soa
Tue Sep 04, 2018 10:48 am
Forum: Questions & Answers
Topic: Random Number Range
Replies: 2
Views: 966

Re: Random Number Range

Good work Mark. Saved me a bit of messing round and achieves a god distribution over a 1000 calls.
by soa
Mon Sep 03, 2018 5:35 pm
Forum: Questions & Answers
Topic: Random Number Range
Replies: 2
Views: 966

Random Number Range

LANSA's RAndnom_number_generator BIF returns a number between 0 and 1. Has anybody out got a neat trick to this this into a range, e.g. Integers between 1 and 15. I had an RPG based BIF that did this trick but it doesn't work in RDMLX.
by soa
Fri Aug 31, 2018 1:21 pm
Forum: Questions & Answers
Topic: Convert SQL to RDMLX?
Replies: 11
Views: 2078

Re: Convert SQL to RDMLX?

I agree that in an sql world i/o modules don't make as much sense as they did the rpg days. It should be possible to implement all the validation rules in the repository as native sql constraints and access routes as views etcetera and basically do away with i/o modules but I guess there's only so m...
by soa
Fri Aug 31, 2018 11:34 am
Forum: Questions & Answers
Topic: Convert SQL to RDMLX?
Replies: 11
Views: 2078

Re: Convert SQL to RDMLX?

What is your question? This is how you do SQL with RDML. Perhaps you could make a suggestion in the 'Product Enhancement Forum'
by soa
Fri Aug 31, 2018 10:26 am
Forum: Questions & Answers
Topic: Convert SQL to RDMLX?
Replies: 11
Views: 2078

Re: Convert SQL to RDMLX?

I just built this a couple of minutes ago. Without select_sql I would have had to build two select loops with appropriate logicals and a fetch. I was able to test this select logic in the green screen sql function before hand and I know that if I was to debug this I could add a breakpoint to the sel...