[comp.databases] Help on wrapping of a text field needed

cloud@ux1.cso.uiuc.edu (Milt Cloud) (11/09/90)

I'm hoping someone else out there has had this problem and can offer help.

Within my INGRES application I present a text tablefield to be edited.  I
need to be able to insert text within a column and have it wrap around into
the next row when the column width is exceeded.  Has anyone solved this?

  e.g., width of column text=10

  +---+----------+                           +---+----------+                              
  |ln |text      |                           |ln |text      |                              
  |---+----------|                           |---+----------|                              
  |1  |Now is the|      after edit           |1  |Now is the|                              
  |2  |time for a|      via insert           |2  |time for a|                              
  |3  |ll men to |  --> of "good "           |3  |ll good me|                              
  |4  |come to th|      in line 3 want -->   |4  |n to come |                              
  |5  |e city.   |                           |5  |to the cit|                              
  |   |          |                           |6  |y.        |                              
  |   |          |                           |   |          |                              
  +---+----------+                           +---+----------+                              


The editing staff is clerical; nothing fancy---just insert or remove data
within a row, and add or delete rows.  Frequently text is edited in the
middle, resulting in extensive rekeying required by the staff (4 rows in
the above example).  This current situation is unacceptable.

In real life the width of column text is 70 and a typical entry is 15 to
20 rows.  The application is 8500 lines of 4GL (no 3GL present).  I am
running INGRES 5.0 on a UNIX (Sequent Symmetry/DYNIX) system.

Any suggestions, advice would be welcome.

Thanks in advance,
-- 
Milt Cloud
Computing Services Office, University of Illinois at Urbana-Champaign
Internet: milt-cloud@uiuc.edu       UUCP: uunet!uiucuxc!uiucux1!cloud