Search found 630 matches

by jyoung
Fri May 17, 2019 3:14 am
Forum: Questions & Answers
Topic: What's going on @ LANSA?
Replies: 10
Views: 670

Re: What's going on @ LANSA?

Yeah. Same here.

Joe
by jyoung
Thu May 09, 2019 11:30 pm
Forum: Questions & Answers
Topic: AlternBackColor for Web page
Replies: 2
Views: 96

Re: AlternBackColor for Web page

Checkout the AlternateItemThemeDrawStyle on the List https://docs.lansa.com/14/en/lansa016/prim_list_alternateitemthemedrawstyle.htm Capture.PNG begin_com role(*EXTENDS #PRIM_WEB) theme(#SYS_THEME<MaterialDesignBlue>) define_com class(#PRIM_LIST) name(#List1) displayposition(1) left(168) parent(#COM...
by jyoung
Thu May 09, 2019 7:09 am
Forum: Questions & Answers
Topic: VLF-ONE IBM i Change Password and Password Expiration (solved)
Replies: 7
Views: 8449

Re: VLF-ONE IBM i Change Password and Password Expiration

Works great. Just one note, when you un-comment the code for the CheckPasswordExpiry, you will get an instant error on the #BIF_Password := #Password because the password passed into the method is a PRIM_DC.UnicodeString and the BIF_Password is char array. To fix, all you have to do is use "AsNative...
by jyoung
Thu May 09, 2019 7:04 am
Forum: Questions & Answers
Topic: Request
Replies: 2
Views: 8323

Re: Request

Should note that you have to edit the original post, editing the subject of a response does not change the display on the topics list.

Joe
by jyoung
Thu May 09, 2019 7:01 am
Forum: Questions & Answers
Topic: VLF-ONE Customize Logon Handler (solved)
Replies: 2
Views: 14464

Re: VLF-ONE Customize Logon Handler (solved)

Thanks Mark,

Had a couple issues with the designer using Layouts, however when I used your example (without layouts) it worked great.

Thanks,
Joe
by jyoung
Fri May 03, 2019 2:50 am
Forum: Questions & Answers
Topic: VLF-ONE Customize Logon Handler (solved)
Replies: 2
Views: 14464

VLF-ONE Customize Logon Handler (solved)

Trying to find more information on how to customize the UI for the logon handler. The docs keep pointing to the source of UF_OEXEC which in turn points me to here. https://docs.lansa.com/14/en/lansa048/index.htm#lansa/lansa048_8285.htm which tells me that it must have an ancestor of VF_AC026O. Creat...
by jyoung
Thu May 02, 2019 1:52 am
Forum: Questions & Answers
Topic: PRIM_LIST ItemClick with Page Scroll
Replies: 1
Views: 8798

PRIM_LIST ItemClick with Page Scroll

I'm having a bizarre issue in VLWEB with the PRIM_LIST when the page is scrolled. I am using the ItemClick event and what seems to be happening is that when the left mouse button is pressed, the page automatically scrolls down some. This puts the mouse on a different item then the item that was clic...
by jyoung
Wed May 01, 2019 1:40 am
Forum: Questions & Answers
Topic: New To Visual Lansa
Replies: 13
Views: 10617

Re: New To Visual Lansa

One of the key things to remember is that in the web world (VLWEB in this case) there are two different actors, the client and the server. The client runs in the user's browser and CANNOT access data directly from the server. In order to get data, it MUST call a Server Module. I mention this because...
by jyoung
Tue Apr 30, 2019 11:34 pm
Forum: Questions & Answers
Topic: New To Visual Lansa
Replies: 13
Views: 10617

Re: New To Visual Lansa

Hi and Welcome, Do you have an idea where you are getting hung up? Have you seen the developer resources? https://developer.lansa.com/resources/ Don't hesitate to post a question here, the folks here have always been supportive and helpful. I've asked more than my fair share of questions. :D The LAN...
by jyoung
Mon Apr 29, 2019 11:08 pm
Forum: Questions & Answers
Topic: VLF-ONE IBM i Change Password and Password Expiration (solved)
Replies: 7
Views: 8449

Re: VLF-ONE IBM i Change Password and Password Expiration

Hey Mark, Thanks for all the info! Just to confirm, the "IBM i User Profile Management" group box only shows up if I have VLF-WIN checked. My assumption then is that this would not work for VLF-ONE, but you are saying that the VLF-WIN setting works for VLF-ONE? Capture1.PNG Capture2.PNG Thanks, Joe
by jyoung
Sat Apr 27, 2019 1:40 am
Forum: Questions & Answers
Topic: VLF-ONE IBM i Change Password and Password Expiration (solved)
Replies: 7
Views: 8449

VLF-ONE IBM i Change Password and Password Expiration (solved)

In our framework we use a custom IIP to validate the user against the IBM i. This IIP extends VF_AC027O, which we copied from the demo UF O_LOGON. This component has methods to "ChangePassword" and "CheckPasswordExpiry". In the comments of those methods, it mentions that you have to allow the passwo...
by jyoung
Tue Apr 23, 2019 11:40 pm
Forum: Questions & Answers
Topic: left click menu bar menu
Replies: 2
Views: 18247

Re: left click menu bar menu

You may want to contact support with this.
The MenuBar Popup is doing the same thing to me, and the doc sample does it too.
https://docs.lansa.com/14/en/lansa016/p ... enubar.htm

Have not been able to find a way to stop or correct it.
Capture.PNG
Capture.PNG (4.09 KiB) Viewed 18223 times
Joe
by jyoung
Fri Apr 19, 2019 6:21 am
Forum: Questions & Answers
Topic: VLWeb PRIM_MD.DropDown Click Event
Replies: 1
Views: 10832

Re: VLWeb PRIM_MD.DropDown Click Event

Try as I may, I could not find an alternative control or display mechanic to handle this that I liked. So I punted, and made my own. 8-) With a combination of PRIM_MD.Edit, PRIM_MD.List and the regular PRIM_PPNL popup, I made it work just like a standard PRIM_MD.DropDown. The only "weird" thing to f...
by jyoung
Thu Apr 18, 2019 11:45 pm
Forum: Questions & Answers
Topic: GET_MESSAGE Scope
Replies: 2
Views: 11097

Re: GET_MESSAGE Scope

Thanks Danny!

Using the *RECEIVES_MESSAGES on the GetMessages method solves it. Never used those particular options before. Still have a lot to learn. :D

Thanks again.
Joe
by jyoung
Thu Apr 18, 2019 7:13 am
Forum: Questions & Answers
Topic: GET_MESSAGE Scope
Replies: 2
Views: 11097

GET_MESSAGE Scope

Is getting a message with GET_MESSAGE scoped to the routine that issued the message? I have an insert statement as such insert fields(#EP0001F1Fields) to_file(EP0001F1) io_error(*NEXT) val_error(*NEXT) if_status is(*OKAY) #SYS_APPLN.TraceMessageData( 'CreateWorkforceLink - Link Created - Location: &...
by jyoung
Wed Apr 17, 2019 2:49 am
Forum: Questions & Answers
Topic: VLWeb PRIM_MD.DropDown Click Event
Replies: 1
Views: 10832

VLWeb PRIM_MD.DropDown Click Event

Anyone know how to "fake" a Click event with PRIM_MD.DropDown. I have a dropdown that has a few options. #STD_TEXT := 'This Week' #STD_TEXTS := 'THIS_WEEK' #DropDownList.Items.Add value(#STD_TEXTS) caption(#STD_TEXT) #STD_TEXT := 'Last Week' #STD_TEXTS := 'LAST_WEEK' #DropDownList.Items.Add value(#S...
by jyoung
Wed Apr 17, 2019 1:31 am
Forum: Questions & Answers
Topic: Download a CSV with Column Headings
Replies: 2
Views: 9577

Re: Download a CSV with Column Headings

Hey Art, is this in VLWeb where the CSV is downloaded via a browser? If so, we do this by using *RESOURCE response. srvroutine name(Download) response(*RESOURCE #response) session(*REQUIRED) * write the header #response.ContentString += ('"Week Ended","Check Number","Days Worked","Hours Worked","Gro...
by jyoung
Fri Apr 12, 2019 11:48 pm
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18755

Re: ODBC Error Invalid Column Name when adding new Field

That confirms what I thought I was happening and what the fix was. I typically don't work with LANSA created Tables, so I normally only have "Rebuild OAM" selected and as you mentioned this is what caused the issue. I would be really nice IMHO, if the compile errored or warned me that something was ...
by jyoung
Fri Apr 12, 2019 1:26 am
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18755

Re: ODBC Error Invalid Column Name when adding new Field

Ok, so this kinda thing is super frustrating. I removed the Field and was still getting the error. Thinking that something had to be cached somewhere, I killed of all the processes and rebooted the PC. Still same error WITHOUT the Field in the File. All the while I am compiling with the drop / reloa...
by jyoung
Thu Apr 11, 2019 11:20 pm
Forum: Questions & Answers
Topic: ODBC Error Invalid Column Name when adding new Field
Replies: 5
Views: 18755

Re: ODBC Error Invalid Column Name when adding new Field

Hey Chad, I did not think about the collation, after all this is a LANSA created database and LANSA created Table with LANSA created Fields. Nothing changed. I ran the query to check the collation and got SQL_Latin1_General_CP1_CI_AS so it should be case insensitive and accent sensitive. Nothing out...