* Description

CALTABL is a Paradox demo illustrating the use of an embedded
calendar table on a sample order entry form. Play the 'DEMO'
script to see how the calendar works with the Orders table. The
first time DEMO.SC is played, CFILL.SC is played to fill the
Calendar table. The range of dates for the calendar can be
changed any time by playing the 'CFILL' script. This style of
calendar is best suited for an application that requires frequent
use of dates.     

A small 'Help' function is also included to provide online
assistance. This style of help can be easily adapted to field-
sensitive conditions by taking the user to any particular record
in the Help table through the use of 'CASE' statements for each
field in the master table.

CALTABL was written for Paradox 3.x, although the forms and
scripts can be easily modified for version 4.0.
 
* Error Checking

This is a 'bare-bones' demo without elaborate error checking.
Both scripts should be in the same directory as the Orders, Help,
and Calendar tables. CALTABL depends on field-image orientation.
Do not 'rotate' columns in any tables.

* Using DEMO

After unzipping the files into one directory, start Paradox,
change to the directory and play DEMO.SC which opens the Orders
table in Edit mode. 

<F1> - Toggles the Help table. Scroll the table with the usual   
       up or down keys. Press <F1> to return to the Orders table.

<F2> - Saves entries and returns to Paradox.

<F3> - Toggles the Calendar table. After moving to the Calendar
       table, <PgUp> or <PgDn> will scroll through the calendar   
       month by month. <CTRL-Z> works in a number of ways to     
       quickly locate a particular month or year. You may also   
       use <CTRL-Z> and <ALT-Z> to locate date patterns such as  
       finding months where the 1st day falls on Wednesday, for  
       example. It's also easy to search for such things as      
       months with five Thursdays.
       
       Pressing <F3> to return to the Orders table will reset the
       calendar to the current month. If you want to leave the   
       calendar view on the month you have located, jump back to
       the Orders table with the <F4> key.

<F4> - Locks the current calendar month and returns to the Orders
       table. If, for example, you locate the cursor on June 6,  
       1967, then press <F4>, the calendar view will remain on   
       June 1967. Pressing <F3> from the Orders table will then  
       return the cursor to June 6, 1967 (last date).  

<F5> - Uses current date from calendar. After using the cursor to
       locate a date, pressing <F5> inserts the date in Contact  
       Date field of the Orders table. If a date is already in   
       the Contact Date field, it will not be overwritten by     
       pressing <F5>; a warning message will appear instead.

* Author

CALTABL was written by Rick Paulson (CIS 70540,702) as part of a
Paradox inventory application.

