 |
dBworxPE Help File |
 |
Design |
 |
Special Field Types |
 |
Operation |
 |
Listings, Reports and Labels |
 |
Templates |
|
|
PROGRAMMING:
If you want to extend dBworxPE's functionality
by programming your own front or back-end
programs, dBworxPE includes menu selections
to link to JustBASIC, a free Windows programming
language offered by Shoptalk Systems.
Using JustBASIC, you can actually create create regular Windows
programs complete with buttons, list boxes, menus, and other
standard Windows controls.
To use JustBASIC, download it from www.justbasic.com and install
it on your PC. Then start dBworxPE, select "Set path to
JustBASIC" from the "Macros/Programming" menu and an Explorer-
type screen will display. Click on the directory where you
installed JustBASIC (so dBworxPE knows where to find it) and
then you can access the JustBASIC IDE or help file through menu
options under the "Macros/Programming" menu.
If you write a JustBASIC program to use with dBworxPE you can
launch it directly from the dBworxPE main screen by selecting
"Run JustBASIC program" from the "Macros/Programming" menu.
NOTE: To run a JustBASIC program this way you will need to create
a "tokenized" version of the program. You can do that
by starting the JustBASIC IDE, loading your source code,
and selecting "Make .TKN file" from the "Run" menu.
Several sample JustBASIC programs have been included in this release;
you can find them in the "justbasic" subdirectory. These samples
include:
sales.bas
This is an actual working program -- you can load the records from
the "sales" sample database included with dBworxPE, add, change, or
delete records, and (when you exit the program) the updated database
file will be saved automatically. As mentioned above, you can run
the "sales" program by selecting "Run JustBASIC program" from the
"Macros/Programming" menu and selecting "sales.tkn" (or you can
load it from the JustBASIC IDE and run it that way).
sales01.bas
Sales01.bas is a field-edit program - that is, it executes whenever
you exit a certain database field. You can look at the "Design"
section of the help file under "Basics" to find more information
about field edit programs.
frmsales.bas
This is an example of a "smart form" - a custom form that you can
use to add or edit dBworxPE database records. In this case,
"frmsales" is the smart form for the "sales" database. You can
find more information about "frmsales" in the "Smart Forms"
section of the help file.
marblez
And to show that you can do other things with JustBASIC,
another program ("marblez.bas" - a slightly additive game
program) has also been included with this release.
For detailed information about Just BASIC and its capabilities,
download and install Just BASIC and consult the Just BASIC help
file.
NOTE: As mentioned above JustBASIC is absolutely free -- the
licensing fee you pay for dBworxPE is for dBworxPE only.
|