Search found 37 matches
- Tue Mar 05, 2024 11:26 pm
- Forum: Questions & Answers
- Topic: Disable Multiple Sendkey error
- Replies: 3
- Views: 19574
Re: Disable Multiple Sendkey error
Correct this is RAMP.
- Fri Feb 23, 2024 7:38 pm
- Forum: Questions & Answers
- Topic: Collecting information in a subfile directly
- Replies: 0
- Views: 40912
Collecting information in a subfile directly
Is there a method where instead of relying on the backend by mean of paging down and up and collecting information in a subfile, is there a method where we can collect information in a subfile directly and adding it to a list?
- Fri Feb 16, 2024 12:28 am
- Forum: Questions & Answers
- Topic: Disable Multiple Sendkey error
- Replies: 3
- Views: 19574
Disable Multiple Sendkey error
Is there a way to remove the error pop-up of multiple sendkey entry?
- Thu Feb 15, 2024 8:01 pm
- Forum: Questions & Answers
- Topic: Looping through subfile
- Replies: 4
- Views: 22800
Re: Looping through subfile
We are using RAMP to retrieve information from our backend subfile and populating it into our front-end windows grid control.
- Wed Feb 14, 2024 7:30 pm
- Forum: Questions & Answers
- Topic: Using a process and functions
- Replies: 8
- Views: 34518
Re: Using a process and functions
We are using *heavyusage on our function. Not sure what drawback that might have? We aren't sending huge amounts of data and at certain points we are clearing the list within the function.
Is this best practice? Sorry for all the questions, but you've been really helpful, thank you!
Is this best practice? Sorry for all the questions, but you've been really helpful, thank you!
- Mon Feb 12, 2024 6:53 pm
- Forum: Questions & Answers
- Topic: Using a process and functions
- Replies: 8
- Views: 34518
Re: Using a process and functions
So currently we are using functions with lists to pass data from one reusable part to another (that being said we are passing from a reusable part to our Screen wrapper reusable part) which currently works in design, when you say "You can't use a function to pass a list from one RP to another ...
- Fri Feb 09, 2024 12:41 am
- Forum: Questions & Answers
- Topic: Using a process and functions
- Replies: 8
- Views: 34518
Re: Using a process and functions
Hi Rene
Basically I am storing information into a local list, then I am passing that list to a list in a function, which we then call that function to read the information on another reusable part or form.
This code might help:
So this code assigns values into a list, then we send that data over ...
Basically I am storing information into a local list, then I am passing that list to a list in a function, which we then call that function to read the information on another reusable part or form.
This code might help:
So this code assigns values into a list, then we send that data over ...
- Thu Feb 08, 2024 8:34 pm
- Forum: Questions & Answers
- Topic: Using a process and functions
- Replies: 8
- Views: 34518
Using a process and functions
Currently we are using functions as a means of inserting data into a list in the function to reference that data from other reusable parts and forms. Just want clarity if this process is good practice or not.
- Wed Jan 03, 2024 11:36 pm
- Forum: Questions & Answers
- Topic: Screen wrapper Events
- Replies: 1
- Views: 85350
Screen wrapper Events
Good day,
Please assist with signaling an event from a screen wrapper to a form. It does not work, but it works from a form to the screen wrapper.
for example, we are trying to set values in a text box on a form, as we get the values from the 5250 screen. We can show the values on a message box ...
Please assist with signaling an event from a screen wrapper to a form. It does not work, but it works from a form to the screen wrapper.
for example, we are trying to set values in a text box on a form, as we get the values from the 5250 screen. We can show the values on a message box ...
- Wed Dec 13, 2023 1:19 am
- Forum: Questions & Answers
- Topic: Global Variables
- Replies: 3
- Views: 63556
Re: Global Variables
Awesome, thank you so much Rene.
- Thu Dec 07, 2023 7:45 pm
- Forum: Questions & Answers
- Topic: Global Variables
- Replies: 3
- Views: 63556
Global Variables
Is there a method we can use to pass through variables to other components (different forms/reusable parts)?
Currently, we use:
Use Builtin(SET_SESSION_VALUE) With_Args('UDEF=' #COMPCODE.AsString)
But should we later need the value in a different form and we use the get_session_value the value ...
Currently, we use:
Use Builtin(SET_SESSION_VALUE) With_Args('UDEF=' #COMPCODE.AsString)
But should we later need the value in a different form and we use the get_session_value the value ...
- Thu Nov 30, 2023 5:42 pm
- Forum: Questions & Answers
- Topic: Navigating RAMP through different Re-usable Parts
- Replies: 3
- Views: 43691
Re: Navigating RAMP through different Re-usable Parts
Here is my full code of POS_CONN if that helps..
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #VF_AC010) Height(270) Width(500)
Define_Com Class(#vf_sy122) Name(#POSCONN) Parent(#COM_OWNER) Visible(False)
Define_Com Class(#POSFMAIN) Name(#POSFMAIN)
Define_Com Class(#POS_RP_SALEDEB) Name(#POS ...
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #VF_AC010) Height(270) Width(500)
Define_Com Class(#vf_sy122) Name(#POSCONN) Parent(#COM_OWNER) Visible(False)
Define_Com Class(#POSFMAIN) Name(#POSFMAIN)
Define_Com Class(#POS_RP_SALEDEB) Name(#POS ...
- Wed Nov 29, 2023 1:47 am
- Forum: Questions & Answers
- Topic: Navigating RAMP through different Re-usable Parts
- Replies: 3
- Views: 43691
Navigating RAMP through different Re-usable Parts
Hi
We have a Re-usable part called POS_CONN (for connection) which has the following:
Mthroutine Name(uInitialize) Options(*REDEFINE)
* * In the command's uInitialize method routine, set the screen wrapper's uCommand property to #com_owner
Set Com(#POSCONN) uCommand(#com_owner)
Invoke Method ...
We have a Re-usable part called POS_CONN (for connection) which has the following:
Mthroutine Name(uInitialize) Options(*REDEFINE)
* * In the command's uInitialize method routine, set the screen wrapper's uCommand property to #com_owner
Set Com(#POSCONN) uCommand(#com_owner)
Invoke Method ...
- Tue Nov 21, 2023 11:59 pm
- Forum: Questions & Answers
- Topic: SQL Query Search
- Replies: 4
- Views: 46694
Re: SQL Query Search
Thanks Rene
I dont suppose there is a TOP or LIMIT parameter I can use to stop the SQL query once it reaches like 20 records that match the criteria?
I dont suppose there is a TOP or LIMIT parameter I can use to stop the SQL query once it reaches like 20 records that match the criteria?
- Tue Nov 21, 2023 5:47 pm
- Forum: Questions & Answers
- Topic: SQL Query Search
- Replies: 4
- Views: 46694
SQL Query Search
Hi
Just wondering if someone could assist with a large database sql search that either takes incredibly long or gives an error:
Capture.PNG
How would one make the search faster? Here is my code so far:
Evtroutine Handling(#btnSearch.Click #edtSearch.Enter)
Clr_List Named(#lvSearch)
Execute ...
Just wondering if someone could assist with a large database sql search that either takes incredibly long or gives an error:
Capture.PNG
How would one make the search faster? Here is my code so far:
Evtroutine Handling(#btnSearch.Click #edtSearch.Enter)
Clr_List Named(#lvSearch)
Execute ...
- Fri Nov 10, 2023 8:40 pm
- Forum: Questions & Answers
- Topic: Retrieving data from the LDA
- Replies: 10
- Views: 108988
Re: Retrieving data from the LDA
So to understand, we need to create a process on the LANSA IDE?
- Fri Nov 10, 2023 4:17 am
- Forum: Questions & Answers
- Topic: Retrieving data from the LDA
- Replies: 10
- Views: 108988
Re: Retrieving data from the LDA
the script is running off of a reusable part (there are just a couple of test script we were running):
Begin_Com Role(*EXTENDS #VF_AC010) Height(270) Width(500)
Define_Com Class(#vf_sy122) Name(#POSCONN) Parent(#COM_OWNER) Visible(False)
Define_Com Class(#POSSRCH) Name(#POSSRCH)
Mthroutine Name ...
Begin_Com Role(*EXTENDS #VF_AC010) Height(270) Width(500)
Define_Com Class(#vf_sy122) Name(#POSCONN) Parent(#COM_OWNER) Visible(False)
Define_Com Class(#POSSRCH) Name(#POSSRCH)
Mthroutine Name ...
- Fri Nov 10, 2023 1:16 am
- Forum: Questions & Answers
- Topic: Retrieving data from the LDA
- Replies: 10
- Views: 108988
Re: Retrieving data from the LDA
Hi Rene,
Thanks for your response.
When we sign on it is empty as you said, but when we type in our company and branch code, it then gets populated with the data we want to retrieve which is information regarding our user profile. We then use the code attached previously to try and retrieve the ...
Thanks for your response.
When we sign on it is empty as you said, but when we type in our company and branch code, it then gets populated with the data we want to retrieve which is information regarding our user profile. We then use the code attached previously to try and retrieve the ...
- Thu Nov 09, 2023 11:28 pm
- Forum: Questions & Answers
- Topic: Retrieving data from the LDA
- Replies: 10
- Views: 108988
Retrieving data from the LDA
How do we go about retrieving information from an LDA on the ibmi we are referencing the information from the lansa guide:
https://docs.lansa.com/14/en/lansa015/index.htm#lansa/get_char_area.htm?Highlight=LDA
But when we do a quick message show, nothing pops up:
here is a snippet of our code ...
https://docs.lansa.com/14/en/lansa015/index.htm#lansa/get_char_area.htm?Highlight=LDA
But when we do a quick message show, nothing pops up:
here is a snippet of our code ...
- Mon Oct 30, 2023 8:29 pm
- Forum: Questions & Answers
- Topic: Changing Field colors
- Replies: 2
- Views: 12838
Re: Changing Field colors
Tested it out now and works like a charm!! Thanks for the assistance Jörg.