home *** CD-ROM | disk | FTP | other *** search
- Using Paradox with SideKick for Presentation Manager
- ----------------------------------------------------
-
- Table of Contents
- -----------------
-
- I. Paradox Files in Sidekick for Presentation Manager
-
- II. Concurrent File Access
- A. Concurrent Access Using Paradox OS/2
- B. Concurrent Access Using Paradox 2.0 (DOS mode)
- C. Paradox File Extensions
-
- III. Using Paradox and the SideKick Time Planner
- A. Description of Fields in the Appointment Table
- B. Description of Fields in the Notes Table
-
- IV. Using Paradox and the SideKick Phonebook
-
- V. SideKick for Presentation Manager Table Structures
- A. Time Planner
- B. Phonebook
-
-
-
-
- I. Paradox Files in SideKick for Presentation Manager
- ------------------------------------------------------
-
- The Time Planner and Phonebook main data files are actually
- Paradox data files. Therefore, they can be manipulated readily
- within Paradox. With some limitations, discussed below, Paradox
- 2.0 and Paradox OS/2 can view Time Planner and Phonebook data
- files while Time Planner and Phonebook are active. Paradox 2.0
- and Paradox OS/2 can also modify data in SideKick for PM files.
- Paradox sessions can make changes in either Edit or CoEdit mode,
- but must have exclusive use of the file being changed in either
- case.
-
- Two applications have been provided in the \SKSAMPLE directory on
- the Installation/Sample Tables Disk, that illustrate how to use
- Paradox in conjunction with Sidekick for Presentation Manager.
- There is a tool that allows you to transfer data from any Paradox
- table into a Phonebook format table. It allows you to match
- columns in the source table with columns in the target Phonebook
- table and then transfer the data into that table. There is also
- a tool that allows you to enter annual events into the Time
- Planner for a range of years.
-
- 4Mb RAM or more is recommended when using Paradox OS/2 in
- conjunction with SideKick for PM.
-
- Note:
- Be sure to exit all SideKick for PM applications normally,
- especially if you have been adding or changing data. Don't turn
- off your machine with applications minimized; close them from
- their system menus or restore them and use their Exit menus to
- exit. You can also choose Shutdown Now... from the Shutdown menu
- in the Task Manager to close applications. This will close ALL
- open applications. Also, since the Time Planner and Phonebook
- applications check their data files when they are loaded to
- verify that they are appropriate Time Planner or Phonebook files,
- each table's structure must always be the same as the structure
- of the default .DB file, and the related index files (.PX) must
- also be present and up-to-date. See "SideKick for Presentation
- Manager Table Structures" below.
-
-
- II. Concurrent File Access
- ---------------------------
-
- If only one copy of the Time Planner is open to a particular
- file, the user can freely edit and move between Daily, Weekly and
- Monthly views. However, if more than one copy of the Time
- Planner is open to a particular file, or a Time Planner session
- and a Paradox session are both open to the same file, the Daily
- view is not available from within the Time Planner, and the file
- can only be opened for viewing within Paradox.
-
- If only one copy of the Phonebook is open to a particular file,
- the file is freely editable. However, if more than one copy of
- the same file is open in Phonebook and Paradox OS/2 sessions, or
- in multiple Phonebook sessions, the file is read-only and is not
- editable.
-
- During concurrent access to SideKick's datafiles, the
- Tools/Info/Who command will show SideKick sessions as Paradox 2.0
- sessions. This is due to the usage of Paradox 2.0's dynamic link
- library.
-
-
-
- Using Paradox OS/2 with SideKick for PM:
-
- In order to be able to access the files at the same time as Time
- Planner or Phonebook, you must give Paradox OS/2 the following
- command-line parameters when you launch it:
-
- PDOXOS2 -MULTI -NET C:\SIDEKICK\
-
- This tells your Paradox OS/2 session that other Paradox sessions
- or other applications may be accessing its files, and that the
- PARADOX.NET file that controls concurrent access will be in the
- C:\SIDEKICK directory. (Be sure to include the final backslash,
- as shown above.)
-
- Be sure to use the -MULTI command line option; without it,
- Paradox's lockfile mechanism, which protects data integrity
- while allowing concurrent access, cannot operate.
-
- If SideKick resides in a drive or directory other than
- C:\SIDEKICK, replace "C:\SIDEKICK\" with the parent directory of
- the PHONE and TIMEPLAN sub-directories. Alternatively, you may
- supply this information in the "Start Programs" window. If you
- are just installing Paradox OS/2 or want to re-install it, you
- can specify during the installation that the PARADOX.NET file
- will be located in c:\SIDEKICK\, and omit the -net option at
- start-up.
-
- If you install Paradox OS/2 in the Start Programs window, specify
- that it is not an OS/2 Presentation Manager program and that it
- should run in a text window.
-
-
- Using Paradox 2.0 (DOS mode) with SideKick for PM:
-
- Paradox 2.0, running in the DOS compatibility box, can share
- files with SideKick's Time Planner and Phonebook. To allow
- Paradox 2.0 to share SideKick for PM files, you must specify
- during installation that you will be sharing data on a network.
- If you are actually running multiple sessions on a single
- machine, select network type OTHER. If you have already
- installed Paradox 2.0 for stand-alone use, you must re-install to
- select a network type. You'll probably also want to specify the
- location of your PARADOX.NET file - usually C:\SIDEKICK\, as
- discussed for Paradox OS/2 - so you don't have to enter it from
- the command line.
-
- You must also use the -SHARE command line option, so Paradox 2.0
- recognizes that it is running in a multiuser environment. Your
- command line will say, at least:
-
- PARADOX2 -SHARE
-
- To allow Paradox's lockfile mechanism to control concurrent
- access, be sure that you always use the -SHARE option. You may
- also use the -NET option to override anything set through
- installation, or the -USER option to provide a username.
-
-
- Paradox File Extensions:
-
- Paradox can maintain and manipulate the following files:
-
- All .DB files
- All .PX files
- All .SET files
-
- Within the Phonebook, the .SET file maintains the current Table
- View settings such as column width and order. Paradox's .SET
- file is a superset of Phonebook's .SET file. Therefore, not all
- features of the Paradox .SET file are supported in Phonebook.
- Supported settings that can be manipulated between Paradox and
- SideKick for PM's Phonebook include ColumnSize, and ColumnRotate.
-
- The associated file PHONE.PX is the index file for PHONE.DB. The
- Phonebook will automatically create additional data files for:
-
- Speed Dial .SPD
- Card Design .FRM
-
- These files are not Paradox objects and cannot be manipulated
- through Paradox.
-
-
- III. Using Paradox and the SideKick Time Planner
- -------------------------------------------------
-
- The Time Planner appointment files (filename+A) and Notes files
- (filename+N) are linked through the Date field plus the Order
- field which exist in both databases. This is a one-to-many
- relationship where each individual appointment is associated with
- a potentially multi-record note file. The appointment may have a
- maximum of one note linked to it. The linked note file consists
- of a separate record for each line in the note. The text of the
- note is limited to 80 characters per line.
-
-
- Description of the Fields in the Appointment Table:
-
- Date:
- Date of the appointment in MM/DD/YY format.
-
- Start Time:
- Start time of appointment in 24 hour time format (HH:MM). A
- value of 0:00 indicates a start time of 12:00AM (beginning of the
- day).
-
- End Time:
- End time of appointment also in 24 hour time format (HH:MM). A
- value of 23:59 indicates an end time of 11:59PM (end of the day).
-
- Order:
- Order in which the appointment was entered. Must be a unique
- number for each date beginning with number 0, maximum 255.
-
- Alarm Time:
- Scheduled alarm time in 24 hour format (HH:MM). Value of -1 if
- no alarm is set. A value of 0:00 if the start time is 12:00am.
-
- Type:
- Type of appointment interpreted into a text string. Possible
- values include:
-
- Meeting
- Business trip
- Vacation
- None
- Birthday
- Party
- Meal
- Personal
- Coffee break
- National Holiday
- Phone call
-
- Description:
- Text from the 'Activity' field. Maximum of 80 alphanumeric
- characters.
-
-
- Description of Fields in the Notes Table:
-
- Date:
- Date of the appointment in MM/DD/YY format. This value will
- repeat x number of times where x is the number of lines in the
- note.
-
- Order:
- Order in which the appointment was entered. The Order field is
- directly associated with the Order field in the appointment
- database. This value will repeat x number of times where x is
- the number of lines in the appointment. Order begins with 0 and
- has a maximum value of 255. The combination Date+Order+Line
- Number creates the key and must be maintained to prevent
- duplicate entries.
-
- Line Number:
- Line number of note. Must be a consecutive number beginning with
- 0 for each unique Order number. The maximum number of lines in a
- note is 32767.
-
- Line Text:
- Text of associated line from the note. Control characters such
- as TAB are also saved. 80 characters maximum text per line.
-
-
- IV. Using Paradox and the SideKick Phonebook
- ---------------------------------------------
-
- The Phonebook uses only one file. It may be named any legal
- Paradox tablename but must have the exact table structure as
- noted below. There is a default table named PHONE that may be
- borrowed for its structure when creating alternative Phonebook
- tables.
-
-
- V. SideKick for Presentation Manager Table Structures
- ------------------------------------------------------
-
- Time Planner:
-
- The Time Planner maintains two sets of Paradox data files,
- PLANS00A and PLANS00N. The PLANS00A table structure is:
-
- Date D*
- Start Time A5*
- End Time A5*
- Order S*
- Alarm Time A5
- Type A25
- Description A80
-
- The PLANS00N table structure is:
-
- Date D*
- Order S*
- Line Number S*
- Line Text A80
-
-
-
- Phonebook:
-
- The PHONE table structure is:
-
- Last Name A20*
- First Name A20*
- Middle Name A20*
- Code A10*
- Title A35
- Company A50
- Address A50
- City A20
- State A15
- Zip A10
- Home Phone A30
- Business Phone A30
- Alternate Phone A30
- Notes A255
-
-
- Legend:
- A - Alphanumeric (ex: A25)
- Any combination of characters and spaces up to a specified
- width.
- Maximum width is 255.
- D - Date
- S - Short integer, with a range between -32768 and 32767.
-
- An asterisk next to a field type indicates that it is a key
- field (ex: A4*)
-
-