home *** CD-ROM | disk | FTP | other *** search
-
- This directory contains the source files for the 4GL APT-SQL version of
- the "sales" sample application. After installing the APT-Execute software,
- build the APT-SQL sales sample application by following these steps:
-
- 1. Change to the drive and directory containing the aptsql samples:
- <drive>:
- cd <SYBASE home>\sample\aptsql
-
- Where <drive> is the destination drive you chose during
- APT-Execute installation and <SYBASE home> is the destination
- directory you chose during APT-Execute installation as the home
- directory for the SYBASE directory tree.
-
- 2. Enter:
- aptcomp *.fpl
-
- This generates APT-SQL object (.fpo) files.
-
-
- Before you run the APT-SQL sample application, make sure:
-
- 1. The Net-Library software necessary for APT-Execute has been
- configured correctly and is loaded.
-
- Use the dbping utility program shipped with Net-Library
- to verify that your network and Net-Library software is
- able to connect your PC to SQL Server.
-
- 2. You have a SQL Server login and the "pubs" database has
- been installed on SQL Server.
-
- If you have a DB-Library product with the isql utility installed
- on your PC, you can verify this yourself. Otherwise, your
- SQL Server system administrator can verify this for you.
-
- 3. Your SYBASE environment variable is set to the
- drive and directory path for the SYBASE home directory.
- Use the "set" command without arguments to display the
- current settings of all your environment variables:
- set
-
- If the SYBASE environment variable is not set, set it
- appropriately. For example:
- set SYBASE=C:\sql
-
- 4. Your SYBFORMLIST environment variable includes your
- sample\aptforms directory.
-
- If the SYBFORMLIST environment variable is not set correctly, set
- it appropriately. For example:
- set SYBFORMLIST=<SYBASE>\sample\aptsql
-
- Where <SYBASE> is the value of your SYBASE environment variable.
-
-
- To run the "sales" application, enter:
- aptexec sntr 3
-