IGNITe/400 Mailing List Archive Entry
Darin,

I generate all of my forms using Microsoft Frontpage which generates
JavaScript editing for all of the input fields. You can obviously code your
own JavaScript if you prefer another HTML tool. The other thing I do is
write my macros to default valid values into the fields before running the
queries.

A simple %IF(myfld == "")
@DTW_ASSIGN(myfld,"something_valid")
%ENDIF
@myfunc

should do the job.

Hope this helps.

Bob C.

-----Original Message-----
ign_list@ignite400.org [mailto:ign_list@ignite400.org]
Sent: Thursday, October 29, 1998 12:11 PM
To: IGNITE400 MEMBERS LIST Mailing List
Net. data question


Darin Dutcher

I have a macro that searches a file for two different field names. It
returns the results correctly if both fields are valid, and if there is no
results (100 message) works fine. My problem is when nothing is put in
either input field and then submitted. WRKACTJOB show the job running and
it will start eating up the system. CPU% will climb as high as 95%. What
can I do so this does not happen any more?

My main goal is to make both field required, but have tried to get an if
statement to do this for me, but does not work. What way should I me going?

Thanks for your help.

Darin Dutcher

--- IGNITE400 MEMBERS LIST
Looking for staff or perhaps you want a new job?

news://news.ignite400.org/ignite400.as400jobs


Posted by  Subject  Date 
  RE: Net. data question  1998/10/29  View 
  RE: Net. data question  1998/10/29  View 

Return to the Mailing List Archive Page
Click to return to home page
© Copyright 1999 by IGNITe/400
This page last updated Sat, 21 Aug 1999 16:41:00