[Company Logo Image]

Home Up Feedback Search

Services Ed4W & Progress Progress Neat Stuff Links

Table Names

 

 

Table Names
Check Syntax/Compile
Xref
Section Editor
Load DF
Build Project
Viper Skeletons
Of Expander

It's very useful when using Ed4W to add information related to your own application to Ed's "Progress Words and Templates" file.  This page shows a simple way to do this for database table names.

In addition to the standard types of "language words" defined by Ed4W, up to 9 "user" types are allowed.  In the default file that ships with Ed4W user types 1 through 3 are used for non-reserved keywords, non-keyword events, and metaschema and VST table names.  

To set up the fourth user type as a list of tables in your database, first copy this short program into the Progress procedure editor and run it (while connected to your database, of course):

output to "clipboard".
put unformatted
  ";Database tables~n"
  "[User 4]~n".
for each _file
    where _file._file-number > 0 and _file._file-number < 32000
    no-lock
    by _file._file-name:
  put unformatted _file._file-name "~n".
end.
output close.

Next open up "Progress Language Words and Templates" file in Ed4W (Options -> Language Words and Templates, while editing any Progress file) and paste the contents of the clipboard into the file just before the
[Preprocessor] tag.

 If your application uses global variables you may also want to list them as [User 5].

Click here for your Free Trial copy of ED for Windows, the power packed programmers editor
Click here for your Free Trial of ED4W

 

Copyright © 2005 Tim Townsend Technologies. All rights reserved.
Revised: July 04, 2005 .