Search found 337 matches

by atostaine
Wed Apr 17, 2019 1:39 am
Forum: Questions & Answers
Topic: Download a CSV with Column Headings
Replies: 2
Views: 34

Re: Download a CSV with Column Headings

Oh I didn't know you could send strings to the response. The example showed transform_list. This should work for me. Thanks!
by atostaine
Wed Apr 17, 2019 12:35 am
Forum: Questions & Answers
Topic: Download a CSV with Column Headings
Replies: 2
Views: 34

Download a CSV with Column Headings

Currently using transform_list to download a file using the download CSV example. But I need to have the first line be a column heading. I can write the stream file with the headings first but I there is no option to append for transform_list. The appendage list option in transform_file looks like i...
by atostaine
Fri Apr 12, 2019 10:48 pm
Forum: Questions & Answers
Topic: Display Web page in popup
Replies: 3
Views: 97

Re: Display Web page in popup

Thank you. How did you find out that UPS doesn't allow it to be embedded?

Art
by atostaine
Fri Apr 12, 2019 5:42 am
Forum: Questions & Answers
Topic: Display Web page in popup
Replies: 3
Views: 97

Display Web page in popup

I have a tracking# in a list. I want the user to be able to click on the tracking# and show a popup with a web page. I tried to follow the sample to display PDF's but I think that's just to show static content. I need to navigate to a URL like https://www.ups.com/track?loc=en_US&tracknum=1Z39E99E031...
by atostaine
Fri Apr 12, 2019 12:09 am
Forum: Questions & Answers
Topic: Make a Column right justify data
Replies: 2
Views: 70

Re: Make a Column right justify data

Thank you. I must have stared at the screen for 10 minutes looking for that property.
by atostaine
Thu Apr 11, 2019 5:06 am
Forum: Questions & Answers
Topic: Make a Column right justify data
Replies: 2
Views: 70

Make a Column right justify data

Customer likes numeric list columns to be right justified. When I changed CellSizing to none and chose CellAlignment CenterRight it goes left. Here are the 3 settings I tried. Is it possible to set the column data to the right? CellSizing None shot2.png CellAlignment CenterRight shot3.png Cell Align...
by atostaine
Fri Mar 29, 2019 3:52 am
Forum: Questions & Answers
Topic: One leading zero to all dollar values less than $1
Replies: 2
Views: 103

Re: One leading zero to all dollar values less than $1

I haven't tested on LANSA, but in the IBM i world if the field was 5.2 you would use

' 0 . '

Results:

DSPLY 1.22
DSPLY 0.22
DSPLY 200.22
by atostaine
Tue Mar 26, 2019 11:37 am
Forum: Questions & Answers
Topic: LANSA Mobile for Windows 7
Replies: 7
Views: 171

Re: LANSA Mobile for Windows 7

Thank you. As of now they are ordering 4 new PC's. It's time anyway. Some still run XP :roll: :twisted:

I've never written a widget, maybe I'll look at some of the samples.
by atostaine
Tue Mar 26, 2019 11:22 am
Forum: Questions & Answers
Topic: LANSA Mobile for Windows 7
Replies: 7
Views: 171

Re: LANSA Mobile for Windows 7

Sorry no. I want to upload it to IBM i. If I could save it to the IFS that would be fine. It would have to be as easy as the BLOB is.
by atostaine
Tue Mar 26, 2019 11:11 am
Forum: Questions & Answers
Topic: LANSA Mobile for Windows 7
Replies: 7
Views: 171

Re: LANSA Mobile for Windows 7

I want to save it as a blob. My app works with windows 10 and LANSA Mobile I click a button i have for camera, then they click the button in the camera pop up to take the picture.

I don’t want the users to have to use another app to copy and paste the picture
by atostaine
Tue Mar 26, 2019 4:38 am
Forum: Questions & Answers
Topic: LANSA Mobile for Windows 7
Replies: 7
Views: 171

LANSA Mobile for Windows 7

Was this ever available? I understand support may not be offered.

Was it called Long Range back during Windows 7 days?

I need a VLWEB page running on Windows 7 to be able to take a picture and store it in a BLOB.

Thanks
by atostaine
Fri Mar 22, 2019 1:31 am
Forum: Questions & Answers
Topic: understanding events
Replies: 3
Views: 149

Re: understanding events

The problem is that even though the code within BeginSearch() runs normally the results don't show on the screen. Have you tried passing the policy with the event? Something like this? define_evt ShowINFO define_map for(*input) Class(#policy) name(#pPolicy) Change this method to also pass the polic...
by atostaine
Fri Mar 08, 2019 3:52 am
Forum: Questions & Answers
Topic: Excel Activex in VL-WIN Check if open
Replies: 0
Views: 61

Excel Activex in VL-WIN Check if open

I am creating a spreadsheet using code like this: * start Excel Set_Ref Com(#ExcelApp) To(*CREATE_AS #VV_EXCEL.Application) * Create worksheet #ExcelApp.Workbooks.Add Template(-4167) Add_Retval(#ExcelWorkbook) Set_Ref Com(#ExcelWorksheet) To(*Dynamic #ExcelApp.ActiveSheet) I have routines to set Exc...
by atostaine
Fri Mar 08, 2019 12:47 am
Forum: Questions & Answers
Topic: Using Exec_Os400 command in V13
Replies: 14
Views: 357

Re: Using Exec_Os400 command in V13

Do you have disabled or *DISABLED?

Sometimes when you build command strings things can get messed up. Can you show the joblog?
by atostaine
Thu Feb 28, 2019 11:50 am
Forum: Questions & Answers
Topic: Lansa web About page error V14SP2
Replies: 9
Views: 267

Re: Lansa web About page error V14SP2

Thank you. This is the message I see. I've tried adding a user in SQL server, but that doesn't help. The DB is started, My IP is correct.
2019-02-27 19_48_18-LANSA System_ Connect.png
2019-02-27 19_48_18-LANSA System_ Connect.png (9.47 KiB) Viewed 248 times
by atostaine
Thu Feb 28, 2019 11:49 am
Forum: Questions & Answers
Topic: Lansa web About page error V14SP2
Replies: 9
Views: 267

Re: Lansa web About page error V14SP2

Thanks. This is the message I see. I've tried adding a user in SQL server, but that doesn't help. The DB is started, My IP is correct.
2019-02-27 19_48_18-LANSA System_ Connect.png
2019-02-27 19_48_18-LANSA System_ Connect.png (9.47 KiB) Viewed 248 times
by atostaine
Thu Feb 28, 2019 11:39 am
Forum: Questions & Answers
Topic: Lansa web About page error V14SP2
Replies: 9
Views: 267

Re: Lansa web About page error V14SP2

Yes, first one is fine. 2nd one get 404 not found. 3rd one comes up, click test application server, get this Fatal Error: Error executing XVLSMTST.GETRESPONSE: response code 404 Location: Web Page: XVLWEBTST, line 61 Call Stack: 1. Evtroutine Handling(#SendRequest.Click): XVLWEBTST, line 61 Reported...
by atostaine
Thu Feb 28, 2019 10:14 am
Forum: Questions & Answers
Topic: Lansa web About page error V14SP2
Replies: 9
Views: 267

Re: Lansa web About page error V14SP2

Nothing in x_err.log. Isn't there a service supposed to be running? I have lConnect running.
by atostaine
Thu Feb 28, 2019 8:26 am
Forum: Questions & Answers
Topic: Ancestor fields in group_by and def_list
Replies: 6
Views: 253

Re: Ancestor fields in group_by and def_list

I thought Group_by only works with repository fields. I bet you can't put your group_by in the ancestor either.

Art
by atostaine
Thu Feb 28, 2019 8:24 am
Forum: Questions & Answers
Topic: Lansa web About page error V14SP2
Replies: 9
Views: 267

Lansa web About page error V14SP2

Trying to run one of the demo mobile app on a dev PC with dongle. I think this error is because the app server isn't running? I did a repaid or modify web server on the PC, still getting same error URL: http://pc6:8080/cgi-bin/lansaweb?about Unrecoverable error occurred while processing the Web requ...