Using Long Text to Create Memo Fields You can use long text fields as memo fields in Superbase since a long text field can accommodate up to 4000 characters. An ideal memo field has scroll bars attached to it (for easy reading). In addition, it's probably a good idea to make the field read only. This technote explains how to create a read-only long text field with scroll bars on a form. Create a file called "TEST" with three fields; NAME, ID, and DESCRIPTION. Make the Description.Test field 4000 characters long text and allow returns. Create a form and place Name.Test, ID.Test and Description.Test fields on the form. Make the container for Description.Test field look more like a command button. Make the field read-only if it is not made at the file level. Place a command button behind the Description.Test field. You can move the button to the back by choosing the button and selecting Move To Back from the Edit menu. Attach a call command to the button by placing CALL DIAL() command which calls a procedure. Save the form and open the Superbase Program Editor. Copy the following code: SUB DIAL() CALL LONG() DIALOG "longy" REMOVE DIALOG "longy" END SUB SUB LONG() REM Create The dialog CREATE DIALOG "longy",6,78,272,62,"","System",10 ADD DIALOG "longy",1,2,0,260,52,0,"",0,0 ADD DIALOG "longy",6,1,1,270,52,68,2,description.Test,4000 END SUB The subroutine LONG creates a dialog box and places the appropriate information on the dialog. The subroutine DIAL which is called from the command button invokes the dialog itself when the user clicks the description field. To remove the dialog from the form, the user can either click the dialog or press Esc. Note: You need to load the program before you call the form. Program: Superbase Versions: 2.x Date: September 9, 1993 D Date: