On Wed, 12 Apr            Mike Vealey           |\/|
University of Maryland      wrote:
 
>
>         "Too many statements, code for entire form is too big"
>
> I realize that I've overloaded the form with processing statments but there
> has GOT to be a way around this.
>
> Any help or suggestions would be greatly appreciated.
 
Dear Mike:
 
FORMSPEC has two constraints:
The maximum number of fields per form is 128.
The maximal size of a _compiled_ form is 12 kbyte.
 
I have recently similar problems. I want to add an isotope composition in
one screen. The mixture may have 20 components.
 
I removed the field processing statements from the form definition. I
wrote instead Pascal procedures in my calling program. The advantage is
that I could use cycles instead of typing the same processing statements
twenty times.
Disadvantage: I had to reinvent the wheel: how to justify a field a fill
it with leading zeroes. I had to write all this stuff in Pascal.
 
Hope this helps.
                                              Frank
 
  |\  /~ ~~|~~~ Family : NAGY; first name : FERENC; title : Ph. D.
  | \ |   -+-   Institute of Isotopes of the Hungarian Academy of Sciences
  |  \|    |    1121 BUDAPEST Konkoly-Thege M. ut 29, HUNGARY (1525 Bp. POB 77)
`-'   '  `-'    E-mails : [log in to unmask]; [log in to unmask]
 
Fax: (36)-1-156-5045, work phone: (36)-1-275-4351, home phone: (36)-1-277-4229.
Home address: H-1214 BUDAPEST Raketa u. 29. I. 3.
 
There are 3 kinds of programming errors:  syntactical, semantical and mystical.
The programmers have to suck up the users just as much as absolutely necessary.