Search found 501 matches

by atostaine
Wed Jun 03, 2020 3:21 am
Forum: Questions & Answers
Topic: VL-WEB Dialogs
Replies: 1
Views: 12

Re: VL-WEB Dialogs

BTW, I did this because I had an existing RP that I needed to show within a new dialog. I didn't want to have to merge the code.
by atostaine
Wed Jun 03, 2020 3:07 am
Forum: Questions & Answers
Topic: Add Boolean Field with Default True to LANSA File
Replies: 4
Views: 44

Re: Add Boolean Field with Default True to LANSA File

After you recreate the file why can't you fix the records? Are you doing this as part of a production job or development?

Can't you run an update file set isAdmin = true after?
by atostaine
Wed Jun 03, 2020 3:05 am
Forum: Questions & Answers
Topic: VL-WEB Dialogs
Replies: 1
Views: 12

VL-WEB Dialogs

I have a dialog that contains an RP (PRIM_PANL). The first time I show the dialog, everything is fine. The 2nd time, the RP does not show as part of the dialog, it's under it. Is an RP allowed on a dialog? I close the RP before I Close the dialog. Pics attached.
2nd.png
2nd.png (19.86 KiB) Viewed 12 times
1st.png
1st.png (41.02 KiB) Viewed 12 times
by atostaine
Wed Jun 03, 2020 1:34 am
Forum: Questions & Answers
Topic: Add Boolean Field with Default True to LANSA File
Replies: 4
Views: 44

Re: Add Boolean Field with Default True to LANSA File

I would bet that LANSA uses SQL or CPYF under the covers and does not go through the OAM. That means that you would have to set your own default for existing records.

Art
by atostaine
Fri May 22, 2020 2:00 am
Forum: Questions & Answers
Topic: A Question about VL & Web Data Access
Replies: 3
Views: 261

Re: A Question about VL & Web Data Access

All of our development thus far has been VL. Every file I create has a corresponding "Shared Routine" Reusable part that contains all the Routines to Fetch, Add, Update, Delete all data for that particular file in one single object. This "Shared Routine" has method routines that receive the paramet...
by atostaine
Tue May 05, 2020 9:38 am
Forum: Questions & Answers
Topic: Tips for reading trace files?
Replies: 3
Views: 2367

Re: Tips for reading trace files?

Thanks Tim. A long wonderful time ago Hamad gave a session at a really cool Lansa conference how you don’t alway have to do a call_server_function. We’ve mostly been using that advice. But on VPN we found that loading a drop down of batch numbers that were open only was reading every batch number de...
by atostaine
Tue May 05, 2020 9:38 am
Forum: Questions & Answers
Topic: Tips for reading trace files?
Replies: 3
Views: 2367

Re: Tips for reading trace files?

Thanks Tim. A long wonderful time ago Hamad have a session at a really cool Lansa conference how you don’t alway have to do a call_server_function. We’ve mostly been using that advice. But on VPN we found that loading a drop down of batch numbers that were open only was reading every batch number de...
by atostaine
Tue May 05, 2020 3:28 am
Forum: Questions & Answers
Topic: LANSA 14SP2 - OS/400 Release V6R1M0
Replies: 1
Views: 1235

Re: LANSA 14SP2 - OS/400 Release V6R1M0

I doubt it. V14SP2 released around July 2018 and IBM ended V6R1 in 2015, so LANSA wouldn't have made an effort to support it.
by atostaine
Wed Apr 22, 2020 10:43 am
Forum: Questions & Answers
Topic: SELECT_SQL with iASP
Replies: 6
Views: 1208

Re: SELECT_SQL with iASP

Oh now i see the light. I’ve done this lately always in server modules for VL-web.

Thank you for setting me straight.
by atostaine
Wed Apr 22, 2020 10:05 am
Forum: Questions & Answers
Topic: SELECT_SQL with iASP
Replies: 6
Views: 1208

Re: SELECT_SQL with iASP

It’s windows vlf-win super server connected to IBM i. The code executes in RP compiled as windows only.

No other database or anything weird. Only iASP is different.

If I debug and take sqlselect variable I can execute with any SQL client or green screen.
by atostaine
Wed Apr 22, 2020 8:59 am
Forum: Questions & Answers
Topic: SELECT_SQL with iASP
Replies: 6
Views: 1208

Re: SELECT_SQL with iASP

Was wondering about the mention of MSSQL. It’s a vlf-win app and we connect to IBM I only. During debug it crashes at select_sql statement
by atostaine
Wed Apr 22, 2020 4:25 am
Forum: Questions & Answers
Topic: SELECT_SQL with iASP
Replies: 6
Views: 1208

SELECT_SQL with iASP

I'm trying to use SQL_SELECT freeform like I've done 100's of times This is my first time using it on IBM i with iASP. This file name format and error: select LOTID ,PRPTYPCDE from MYIASP/MYDTALIB/MYFILE where myField = ' + #quote + #myfield.trim + #quote atshot1.png This format MYIASP.MYDTALIB.MYFI...
by atostaine
Wed Apr 22, 2020 4:14 am
Forum: Questions & Answers
Topic: Make web page use whole browser window
Replies: 5
Views: 1435

Re: Make web page use whole browser window

In this case those are the layout options I'm using but it's not working. I'll go back and reveiw.

Thank you.
by atostaine
Tue Apr 21, 2020 2:56 am
Forum: Questions & Answers
Topic: Make web page use whole browser window
Replies: 5
Views: 1435

Re: Make web page use whole browser window

Hi Renee: Does this help? I want the LANSA page expand to fill the window.
Untitled.png
Untitled.png (8.93 KiB) Viewed 1393 times
by atostaine
Fri Apr 17, 2020 5:26 am
Forum: Questions & Answers
Topic: Make web page use whole browser window
Replies: 5
Views: 1435

Make web page use whole browser window

I thought I'd asked this question before, but I can't find it.

I want a web page to take the whole available browser tab. When I size my browser tab, the top level web page doesn't shrink or expand.

Thanks.
by atostaine
Tue Apr 14, 2020 3:47 am
Forum: Questions & Answers
Topic: Tips for reading trace files?
Replies: 3
Views: 2367

Tips for reading trace files?

Our VL-WIN Framework application takes 2-3 minutes to load over VPN. It works fine locally. We are trying to find the component that is causing the delay but reading the trace with 370K lines, even on trace level 1, is difficult to say the least. Has anyone done anything cool like eliminating the LA...
by atostaine
Wed Apr 08, 2020 12:23 pm
Forum: Questions & Answers
Topic: Edit and Display formatting request - edit - client scrapped this specs
Replies: 5
Views: 1644

Re: Edit and Display formatting request

Try key press event on zz_edit and/or lost focus. You can look for the tab key to be pressed.

I’m not in front of an IDE. I can provide a sample tomorrow (I’m in North America)
by atostaine
Mon Apr 06, 2020 9:58 am
Forum: Questions & Answers
Topic: Compressing Image size from File picker
Replies: 6
Views: 1201

Re: Compressing Image size from File picker

Us too that’s why we wrote it in web first.
by atostaine
Mon Apr 06, 2020 9:09 am
Forum: Questions & Answers
Topic: Compressing Image size from File picker
Replies: 6
Views: 1201

Re: Compressing Image size from File picker

I rewrote in vl-win. Maybe they web has to chunk the data and reverse transmission a lot?

The listener has to be more efficient than http.
by atostaine
Sat Apr 04, 2020 2:26 am
Forum: Questions & Answers
Topic: Edit and Display formatting request - edit - client scrapped this specs
Replies: 5
Views: 1644

Re: Edit and Display formatting request

I would make the edit field have zero decimals, editcode Z. Then just divide it and put it in the display field. You can use the keypress event to keep them in sync.