This will make a very easy macro using NetData.

You will need a one line  function with the INSERT INTO lib/file ...
a HTML page with the form and a page that calls the function with the
insert.

You can use this as a template:

%FUNCTION(DTW_SQL) line(in field1, in field2, in field3){
    insert into libr.file values($(field1), $(filed2), $(field3) )
%}

%html(form){
<html>
    <head><title> ....
    <form action="load" method="Put">
        <input name="filed1">...

</html>
%}

%html(load){
    @line( field1, field2, field3 )
... confimation message, etc....
%}
_____________________________________________________________________
Mark Allen escribió:

> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> I have set up a simple intranet on our AS/400 using the straight HTTP
> server (no Apache, Domino, etc.).  What is the simplest, easiest way to
> set up a form for users ti input into and either store in a db or even a
> straight text file.  Initial app would be for users to submit IS
> requests, only a few fields, user name, department, description of
> request, Priority, date needed by…..
>
> TIA
>
> Mark Allen
> I.S. Manager
> Wilkes Telephone & Electric
> A Dycom Company
> Phone: (706) 678-9565
> Email: allenmark@nu-z.net
> http://www.nu-z.net
>
> --
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].