home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.ingres
- Path: sparky!uunet!cs.utexas.edu!torn!csd.unb.ca!adminteam.cs.upei.ca!leath
- From: leath@UPEI.CA (Steve Leath)
- Subject: Re: Help Facility with embedded SQL
- Message-ID: <leath.15.726514779@UPEI.CA>
- Keywords: help, Embedded SQL
- Sender: news@jupiter.sun.csd.unb.ca
- Organization: University of Prince Edward Island, CANADA
- References: <C0Ht3n.As7@usenet.ucs.indiana.edu> <1993Jan8.143411.8987@tpghq.com>
- Date: Fri, 8 Jan 1993 17:39:39 GMT
- Lines: 29
-
-
- >Have you tried the two help facilities that INGRES provides for Embedded SQL?
- >One of them is basically the same as you get in isql. One is called HELPFILE
- >and is executed by the EXEC SQL HELPFILE subject filename command. The other
- >is HELP_FRS and is executed by the EXEC FRS HELP_FRS(SUBJECT=subject,
- >FILE=filename) command. Either of these provide nice help interfaces (we
- >use them exclusively in our application development).
- >
- >--
- >
- >Steve Caswell | (404) 448-7727 | "The opinions expressed are my
- >Principal Consultant | sfc@tpghq.com | own. They may not be perfect,
- >The Palmer Group | uunet!tpghq!sfc | but they're all I've got."
-
- I set up a help facility that uses the message or prompt functions. The help
- text are stored in files and when called for are loaded into a temp table
- and displayed through the message or prompt functions. By using these
- functions one gets away from Ingres's full screen only help (the user can
- not read the help and see the form at the same time). The length of the
- message and prompt boxes are sized dynamicaly by ingres and the width can be
- controlled by the help facility. I encode parameters at the end of the help
- file for width, placement and continuation (more pages to come, used with
- prompt). In addition a VMS logical can be used to flag the facililty to open
- the file with an editor before displaying it, this allows the programmers to
- create help files while running the application. The facilty is no slower
- than the ingres facility. The facility is written in 4gl but could be
- written in 3gl with no problem.
-
- Steve Leath leath@upei.ca
-