Search found 417 matches

by Stewart Marshall
Tue Aug 13, 2019 9:59 am
Forum: Questions & Answers
Topic: Sorting PRIM_LCOL (RESOLVED)
Replies: 7
Views: 387

Re: Sorting PRIM_LCOL

In that case, read through the lcol and put them in a kcol when you need to sort them.

You'll need to tinker with the key value if there are duplicates.
by Stewart Marshall
Tue Aug 13, 2019 7:52 am
Forum: Questions & Answers
Topic: VL Browser Development vs 3GL equivalents
Replies: 1
Views: 225

Re: VL Browser Development vs 3GL equivalents

Is there an official LANSA response for this?
by Stewart Marshall
Tue Aug 13, 2019 7:38 am
Forum: Questions & Answers
Topic: Sorting PRIM_LCOL (RESOLVED)
Replies: 7
Views: 387

Re: Sorting PRIM_LCOL

If it's only a visual requirement, can't you sort the list on the screen?
by Stewart Marshall
Wed Aug 07, 2019 3:44 pm
Forum: Questions & Answers
Topic: VL Browser Development vs 3GL equivalents
Replies: 1
Views: 225

VL Browser Development vs 3GL equivalents

My client is in the early stages of specifying and designing a complex browser based application, and as luck would have it, Visual LANSA would be a very good fit. One of their primary interests is relative development speed and how quickly they can get their IP to market. As I have a significant bi...
by Stewart Marshall
Sun Jul 21, 2019 9:04 pm
Forum: Questions & Answers
Topic: PDF creation
Replies: 3
Views: 240

Re: PDF creation

Have a look at PDFMake.Org

I know of others who've wrapped this up in a widget and now produce some brilliant client side PDFs
by Stewart Marshall
Tue May 21, 2019 8:49 am
Forum: Questions & Answers
Topic: What's going on @ LANSA?
Replies: 11
Views: 1704

Re: What's going on @ LANSA?

Right now, we're seeing the results of an acquisition. Nothing more, nothing less. I'm pretty certain Idera didn't spend many millions on an asset only to do their best to wreck it. And as for Sencha, there's lots of bad press about the take over, but note that Sencha didn't disappear. It's still go...
by Stewart Marshall
Mon May 20, 2019 5:37 pm
Forum: Questions & Answers
Topic: What's going on @ LANSA?
Replies: 11
Views: 1704

Re: What's going on @ LANSA?

A little bit of British "Keep calm and carry on" is called for I think, Art

Whatever is going on will doubtless be sorted in the coming weeks
by Stewart Marshall
Fri May 17, 2019 4:47 pm
Forum: Questions & Answers
Topic: What's going on @ LANSA?
Replies: 11
Views: 1704

Re: What's going on @ LANSA?

It's a very sad state of affairs, but that was always a likely outcome in the short term.

Hoping for all that Idera care enough to want to do something about it, but their track record isn't overly encouraging.
by Stewart Marshall
Mon Sep 10, 2018 3:13 pm
Forum: Questions & Answers
Topic: Adjust a date by month
Replies: 5
Views: 1757

Re: Adjust a date by month

Have a look in the xDemoWebUtilities reusable part.

I'm sure(ish) I added routine for this.
by Stewart Marshall
Thu May 24, 2018 8:41 pm
Forum: Questions & Answers
Topic: VL SP2 Identity Column
Replies: 4
Views: 1928

Re: VL SP2 Identity Column

No more System Variables for Identifiers! This makes me happier than it probably should. Lol. :D -Joe Me too. Oddly though, after 25+ years incrementing a number by one, I recently encountered the idea that all identifiers should probably be 10 digit Base64 randomised values, giving 1,152,921,504,6...
by Stewart Marshall
Tue Mar 13, 2018 10:21 pm
Forum: Questions & Answers
Topic: C code for virtual field derivation - example ?
Replies: 2
Views: 1143

Re: C code for virtual field derivation - example ?

Hi Jiri

If the file is enabled for RDMLX you can derive the virtual field using RDMLX

Regards
by Stewart Marshall
Tue Mar 06, 2018 1:34 pm
Forum: Questions & Answers
Topic: Offline(local) "database" storage in LANSA Mobile
Replies: 12
Views: 4334

Re: Offline(local) "database" storage in LANSA Mobile

LocalStorage is very limited in size. Typically 5-10Mb per domain if I recall, so storing images is a problem.

If the app is available via the LANSA mobile wrapper, I think you can access the stored images using the xDevice* components.

Might be wrong though. Getting a little rusty these days.
by Stewart Marshall
Mon Mar 05, 2018 7:46 am
Forum: Questions & Answers
Topic: Offline(local) "database" storage in LANSA Mobile
Replies: 12
Views: 4334

Re: Offline(local) "database" storage in LANSA Mobile

Hi David

Have a look at the VL LocalStorage implementation http://docs.lansa.com/14/en/lansa016/pr ... torage.htm

Best is probably to store the data as JSON (http://docs.lansa.com/14/en/lansa016/prim_web.json.htm)

Regards
by Stewart Marshall
Tue Feb 13, 2018 2:52 pm
Forum: Questions & Answers
Topic: VL-Win problem
Replies: 6
Views: 1975

Re: VL-Win problem

Hi Art

Have a look at this tip about adopting DirectX. There are a few other gotchas to look out for.

https://www.lansa.com/support/tips/t0587.htm

Regards
by Stewart Marshall
Wed Jan 31, 2018 7:58 am
Forum: Questions & Answers
Topic: File Path Concatenation
Replies: 1
Views: 1034

Re: File Path Concatenation

Hi Joe

If I recall correctly, the *PATHDELIM system variable will solve your problem

#templatePath := 'templates' + *PATHDELIM + 'PTOTemplate.xlsx'


Regards
by Stewart Marshall
Wed Jan 17, 2018 2:28 pm
Forum: Questions & Answers
Topic: VLWEB REMOVE "X" ICON BESIDE A FIELD ON IE
Replies: 5
Views: 2415

Re: VLWEB REMOVE "X" ICON BESIDE A FIELD ON IE

The "Clear" button on inputs in IE is miserable, but you're kinda stuck with it I think.

https://developer.mozilla.org/en-US/doc ... :-ms-clear
by Stewart Marshall
Wed Jan 17, 2018 2:24 pm
Forum: Questions & Answers
Topic: VLWeb Popup Issues
Replies: 3
Views: 1423

Re: VLWeb Popup Issues

The Context parameter returns a reference to the control that's using the popup when the prepare event is fired.

It allows you to use the same popup for multiple controls
by Stewart Marshall
Thu Dec 07, 2017 9:36 pm
Forum: Questions & Answers
Topic: VLWeb Tree as Accordion
Replies: 3
Views: 1788

Re: VLWeb Tree as Accordion

Yep, very common and all subtly different depending on whose library you look at. As an expanding tree item isn't quite to your taste, how about a this. This is a tab folder with a ViewStyle of Stacked Begin_Com Role(*EXTENDS #PRIM_WEB) Height(408) Width(809) Define_Com Class(#PRIM_TAB) Name(#Tab1) ...
by Stewart Marshall
Wed Dec 06, 2017 9:46 pm
Forum: Questions & Answers
Topic: VLWeb Tree as Accordion
Replies: 3
Views: 1788

Re: VLWeb Tree as Accordion

Hi Jim

By accordion, are you referring to the items in the tree getting bigger/smaller based on a user action?

If so, have look at xDemoWebMoreLess. This shows/hides some labels based on a click and layout content sizing causes the item to resize accrodingly.

Regards