Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2003
    Posts
    1

    Question Unanswered: FoxBase/FoxPlus memo fields

    I'm maintaining a very old FoxPlus application which was originally developed in dBase II. We now want to add a memo field to an @say screen. I can access the memo field by CTRL-PgDn when I'm in EDIT mode from the dot prompt. What I am unable to do is access the memo field when it is displayed by @ say/get withing a program. CTRL-PgDn just sends me out of the screen. Does anyone remember how to display and access memo fields from an @say screen?

    All help will be greatly appreciated.

    Miriam

  2. #2
    Join Date
    Apr 2004
    Posts
    5
    Hi Miriam.

    From the FoxBase Plus help files here's a suggestion:


    Format: SET FORMAT TO [<file>]

    This SET command accesses custom-designed display formats for
    use with APPEND, EDIT, INSERT, READ, etc.

    If <file> is omitted from this SET command, the currently
    active format file is deactivated. The default extension for
    <file> is .FMT.

    Multi-page format files may be created by placing a READ
    command at the end of each page. There is a maximum of 128
    screens per format file. PgUp and PgDn keys may then be used
    to move from screen to screen within the format file. When
    using READ with a format file, it is possible to edit MEMO
    fields. (Normally, READ cannot access MEMO fields.)

  3. #3
    Join Date
    Dec 2003
    Posts
    104
    Instead of using @ SAY/GET, you need to use @...EDIT:
    @ 1,1 EDIT MyTable.SomeFld SIZE 10, 50
    Size is required to define the size of the edit area.

    If you want to just display the text, as in @....SAY, use NOMODIFY
    @ 1,1 EDIT MyTable.SomeFld SIZE 10, 50 NOMODIFY

    You can also add a scrollbar:
    @ 1,1 EDIT MyTable.SomeFld SIZE 10, 50 SCROLL
    DSummZZZ

    Even more Fox stuff at
    www.davesummers.net/foxprolinks.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •