Search found 5 matches

by FBuckham
Thu Feb 15, 2024 7:56 pm
Forum: Questions & Answers
Topic: Looping through subfile
Replies: 4
Views: 22797

Re: Looping through subfile

It is a windows Front-end with a grid on it.
by FBuckham
Thu Feb 15, 2024 6:34 pm
Forum: Questions & Answers
Topic: Looping through subfile
Replies: 4
Views: 22797

Looping through subfile

Good day

I have a grid in my front end but I have a subfile in the 5250 screen. The subfile has maximum on 14 entries per page and i can only have 7 pages. I can set the subfile and get the entries on the first page up until the 14th entry. But if I need to page down and hit enter I get a multiple ...
by FBuckham
Fri Nov 17, 2023 12:31 am
Forum: Questions & Answers
Topic: Fetch data on multiple files
Replies: 6
Views: 40257

Re: Fetch data on multiple files

I will try creating a function and running the call server function BIF. Thanks for your suggestions, they help!!
by FBuckham
Thu Nov 16, 2023 2:03 am
Forum: Questions & Answers
Topic: Fetch data on multiple files
Replies: 6
Views: 40257

Re: Fetch data on multiple files

In normal sql i want to :
Select (Fields) from tableA, tableB Where tableA.id = tableB.id


This is what I found on this
SELECT_SQL FIELDS((#EMPNO PSLMST.EMPNO) #SKILCODE #DATEACQR) FROM_FILES((PSLMST)(PSLSKL)) WHERE('PSLMST.EMPNO=PSLSKL.EMPNO AND SKILCODE=''4GL''') ORDER_BY(DATEACQR);

But with ...
by FBuckham
Thu Nov 16, 2023 1:27 am
Forum: Questions & Answers
Topic: Fetch data on multiple files
Replies: 6
Views: 40257

Fetch data on multiple files

Hi,

Can anyone help me with accessing multiple files data on the AS400? I have tried the select_sql method but I do not have local data as all my data is in the 400. I can fetch data on one file, but I cannot fetch data on multiple files. Your assistance will be highly appreciated.