home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource1
/
program4
/
read.me
< prev
next >
Wrap
Text File
|
1993-02-25
|
6KB
|
117 lines
Clide ( Clipper IDE ) still has many rough edges so it may be worth
reading this document which is intended to get you up and running as quickly
as possible.
Overview:
1. If a Clide menu item isn't hooked up it just does nothing. So it is OK
to try any menu item. Note: many menus in Clide were built with the menu
section.
2. The main screen that you see on startup is saved as an array under the
catalog name with the extension .cat. The default name is untitled.cat.
DATA Section:
1. To get to the index section use the key Alt-1, Alt-1 will toggle you
back and forth. Alt-A adds a field, Allt-Y deletes a field and
amazingly enough Alt-M moves a field. The numbers under the WAS column
keep track of the field location in the old dbf. This way you can
change the description of a field and change it's location without losing
data. MEMO FIELDS have NOT been tested, so be careful, data may be lost!
Oh, and build your date indexes at the bottom. DTOS() is not automatically
inserted if you indicate an index to the right of the field.
2. When you save or update a file, a dbf called dictdbf.dbf will be built or
appended to. This file holds the index information for all indexes in
the application. The fields are dbf, index, expr, remarks. The DBF field
holds the name of the associated database. INDEX holds the index file
name and the EXPR field holds the index expression. The REMARKS field is
used as a message in a browse when you change indexes on the fly. There
are 2 programs included with the registered version that can be used to
open the database file and all associated indexes. The prgs are
dbfopen.prg and dictopen.prg. They are very similar to Art Fuller's prgs
in his old book "Dynamics of Clipper".
3. When you browse a dbf, you can change columns, resize the window,
order records by index, seek an index key, forward locate, and freeze
columns on the left.
QUERIES Section
1. This was done last. All it does at the persent time is group dbf's so
that you can work with more than 1 dbf when you build forms or reports.
MENUS Section
1. This builds a group of pull down menus. Each line is a menu item.
The top menu is built first. On the pull down menus a '-' will put
a line across. A '-Dept' will look like this ──── Dept ────. And a
blank line will be a skipped menu line. This section builds 2 files.
The file name with the extension .mnu is an array that saves the
image for clide. The extension .ext is the name of the file to use in
your applications. Like this; include "Ar_menu.ext". There are 2 menu
prgs that come with the registered copy that are used to implement the
menus you build. They are tmenu.prg (t for top), pmenu.prg
(p for pull down). My library will also be included in the registered
copy. This is because the prgs call the BoxSave and BoxRest function.
2. After you type the prompts for a menu group, Alt-X will post and run
the menu that you have just built. If you want a submenu just hit
ENTER and build it. When you are done F10 will give you a way to exit.
3. Note: the menu programs are very similar to the ones found in
Rick Spence's book Clipper Programming Guide.
FORMS Section
1. This builds input screens. The F6, F7, and F8 keys work. Alt-A adds a
line, even in the middle of a box. Alt-Y Deletes a line. Alt-A and
Alt-Y are my conventions. Wouldn't it be nice to buy the source so you
could use your conventions? Note, Tab and End also work.
2. Two files are built. The file with the extension .scr saves the array
for Clide. The second file has the extension .prg. Be careful both
Forms and Reports use the extension .prg
3. A line can be built using the box menu selection. Don't worry if the
Line or box disappears when the file is built. The box is temporarly
taken out so that the prg will use a box command and not build the box
with dash literals.
REPORTS Section
1. Builds a report using the same keystroke combinations as the forms section
2. Two files are built. The file with the extension .rpt saves the array
for clide. The second file has the extension .prg.
3. When you build an expression, ENTER gives you fields to choose from.
(good English, huh?) Use Arrow Down or Ctrl-End to get out.
4. The prg needs to be passed a codeblock to operate. An example of how to
call a report (rpt_call.smp) is provided for your convenience.
5. If you want to use multiple dbfs to build a report, then first group them
using the query section.
6. You will need to include "wat.ch" to build the reports. The prg named
pushdbf.prg will also need to be compiled with your report.
7. A PARAMETERS group was added so you can pass variables to the report,
like the current date of the report, or the subsidiary name. PARAMETERS
can not take an array.
PROGRAMS Section
1. Just a holding area at the present time.
Legal Stuff
There are no warranties express or implied.
Historical note:
This program was build in the evenings and on weekends to help me build
applications. I thought that others might like to use it. Hope you find
it helpful. Bill Tettemer (WAT = William A. Tettemer) ID 74720,1357