How to read iseries tables using widget/reusable part in VLF-ONE ?

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
kcmahesh09
Posts: 3
Joined: Thu Oct 12, 2017 5:55 pm

How to read iseries tables using widget/reusable part in VLF-ONE ?

Post by kcmahesh09 » Tue Oct 17, 2017 6:07 pm

Is it possible to create a widget/reusable part in VLF-ONE which listens to the change event of a text box in AXES. We have a business requirement where we need to display data from table dynamically based on the input given in a text field in AXES.
Attachments
Untitled.png
Untitled.png (18.86 KiB) Viewed 137 times

MarkD
Posts: 318
Joined: Wed Dec 02, 2015 9:56 am

Re: How to read iseries tables using widget/reusable part in VLF-ONE ?

Post by MarkD » Wed Oct 18, 2017 9:18 am

You can do that - but how you would approach doing it largely depends on how and where you intend to display the data.

MarkD
Posts: 318
Joined: Wed Dec 02, 2015 9:56 am

Re: How to read iseries tables using widget/reusable part in VLF-ONE ?

Post by MarkD » Wed Oct 18, 2017 10:13 am

As just one example of how you might approach this - noting that it might not be appropriate at all:

A common way to add value to what is displayed on an aXes screen is to use ‘Advanced Prompting’ – see http://docs.lansa.com/14/en/lansa050/in ... 0_1380.htm

The documentation is referring to VLF-WIN (Windows) but the same feature works in VLF-ONE.

Advanced prompters are often used to allow advanced searching and prompting for input fields on the aXes screen, such as the Loan Number on your screen. Eg: The prompter might allow the user to search for the loan number by name, address, phone number, etc and when they select one, put the number back into the field on the aXes screen.

However, they can be used to provide extended information and functionality related to what is displayed on the screen. For example, it might show extended details about the loan or allow the loan details to be sent to an excel spread sheet for emailing, etc, etc.

A useful feature of advanced prompters is that they can be reused on many screens. For example, if you named the Loan Number field LOANNUM on every aXes screen, the associated advanced prompter will automatically attach to it.

RAMP 5250 screens can have ‘virtual’ function keys and associated push buttons added to them. You are not limited just to the function keys that the underlying 5250 RPG application uses. These are often used to cause advanced prompters to execute.

Post Reply