× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Yes. Ususally we call an RPG program to build the SQL string, since the
string handling ablitities are better in RPG than in net.data, but you can
do it wherever you would like. We just populate a variable (which we
usally call "SQL") with the SQL string, so it says something like "SELECT *
from FILEA where FIELD1 = 1 and FIELD 2 <> 3" and then call a function like
the following:

%{ -----------------------------------------------------
Query to find list of items
----------------------------------------------------- %}

%FUNCTION(DTW_SQL) Sales_Query (In SQL) {

$(SQL)


%report{

report stuff here


%}

%}

Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100



TAllen@xxxxxxxxxx
om
Sent by: To
web400-bounces@mi Web Enabling the AS400 / iSeries
drange.com <web400@xxxxxxxxxxxx>
cc

02/02/2009 10:49 Subject
AM Re: [WEB400] Net.Data and data
filters

Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>






Can you give filter options on the screen and then adjust the SQL select
accordingly? By that I mean dynamically build the "where" clause on the
select statement based on the selections on the screen.

Thanks,
Todd





Peter_Vidal@pall.
com
Sent by: To
web400-bounces@mi web400@xxxxxxxxxxxx,
drange.com midrange-l@xxxxxxxxxxxx
cc

2009-02-02 10:01 Subject
[WEB400] Net.Data and data filters

Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>






Good morning all!

I have a file of 173,000 records that I want to display for the clients
and allow them to filter the data by the different columns involved. I
wanted to use Excel but we have the row limitation of the 65,536 rows so I
thought about a way to do it using the browser. Currently, I know that I
can easily use Net.Data to display this but I want to have data filters
like I will do in Excel. I also have the Net.Data subfile technique some
of you have shared with us but I still do not have an example of how to do
a data filter technique like in Excel. I guess I can use CGIDEV very
easily but I have not been fully exposed yet to it and I do not want to
code this in RPG.

Any EASY technique / way out to this?

TIA,

PETER VIDAL
MAPICS IT TECHNICAL SUPPORT TEAM / SR SYSTEM ANALYST
10540 Ridge Rd., Suite 203, New Port Richey, FL 34654-5111
Tel:727-849-9999, x2414 Fax:727-815-3120
WWW.PALL.COM

"The ability to focus attention on important things is a defining
characteristic of intelligence."
Robert J. Shiller, Irrational Exuberance





This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please contact
the sender. If the reader of this message is not the intended recipient, or
the employee or agent responsible to deliver it to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.