home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a039 / 1.ddi / HELPME.TXT < prev    next >
Encoding:
Text File  |  1992-08-08  |  12.3 KB  |  319 lines

  1.                   PARADOX 4.0: ANSWERS TO COMMON QUESTIONS
  2.                   ----------------------------------------
  3.  
  4. This file provides answers to questions commonly asked about Paradox 4.0.
  5. All information in this file supersedes information in the Paradox
  6. documentation.
  7.  
  8.  
  9. TABLE OF CONTENTS
  10. -----------------
  11.  
  12. 1. Running Paradox under Windows
  13. 2. Running Paradox under OS/2
  14. 3. Running Paradox under DESQview
  15. 4. Specific Compatibility Problems
  16. 5. Tips on the Application Workshop
  17.  
  18.  
  19. 1. RUNNING PARADOX UNDER WINDOWS
  20. --------------------------------
  21.  
  22. Q. How do I run Paradox under Microsoft Windows?
  23.  
  24. A. Install Paradox as described in Chapter 23 of the Paradox "User's
  25.    Guide." Start Paradox from the Program Manager in Windows by using the
  26.    provided icon, rather than shelling out to DOS and starting Paradox from
  27.    the DOS command line. Starting Paradox from Windows with the icon
  28.    executes the PIF file and customizes the environment for Windows.
  29.  
  30.    The PIF file limits the extended memory that Paradox uses to 2048K. If
  31.    you do not run other applications under Windows at the same time as
  32.    Paradox, you can use the -extk command-line option to let Paradox use
  33.    all available extended memory.
  34.  
  35.  
  36. 2. RUNNING PARADOX UNDER OS/2
  37. -----------------------------
  38.  
  39. Q. How do I run Paradox 4.0 under OS/2?
  40.  
  41. A. Paradox requires OS/2 version 2.0 or greater. Use the following
  42.    procedure to install and run Paradox under OS/2, version 2.0.
  43.  
  44.    1)  Install Paradox.
  45.  
  46.        a. Insert Disk 1 in drive A or B.
  47.  
  48.        b. Double-click on the OS/2 System Icon that appears.
  49.  
  50.        c. Double-click on Drives.
  51.  
  52.        d. Double-click on the disk drive object for the installed drive.
  53.  
  54.        e. Double-click on the INSTALL.EXE object.
  55.  
  56.        f. Follow the instructions that appear onscreen.
  57.  
  58.    2)  Create a DOS object for Paradox.
  59.  
  60.        a. From the OS/2 system prompt, change to the Paradox directory.
  61.           For example, type
  62.  
  63.           CD \PDOX40
  64.  
  65.        b. From the OS/2 system prompt, enter the command
  66.  
  67.           PDOX40
  68.  
  69.        c. When prompted, enter the path of the Paradox system files. For
  70.           example, type
  71.  
  72.           \PDOX40
  73.  
  74.           A Desktop Object for Paradox 4.0 will be created.
  75.  
  76.        d. Optionally, you can drag the object to a folder.
  77.  
  78.    3)  Start Paradox.
  79.  
  80.        a. Double-click the new program object.
  81.  
  82.  
  83. 3. RUNNING PARADOX UNDER DESQVIEW
  84. ---------------------------------
  85.  
  86. Q. How do I run Paradox under DESQview?
  87.  
  88. A. Use the following procedure to run Paradox under DESQview:
  89.  
  90.    1)  Limit the amount of memory that Paradox uses by inserting the
  91.        following command in the batch file that loads DESQview:
  92.  
  93.        set DPMIMEM=MAXMEM 3000
  94.  
  95.        Clear this setting when you leave DESQview by inserting the
  96.        following line after the line that calls DESQview:
  97.  
  98.        set DPMIMEM=
  99.  
  100.    2)  Start Paradox with the -emk 0 parameter in DESQview. In the
  101.        Parameters text box of the Change a Program dialog box, type
  102.  
  103.        -emk 0
  104.  
  105.    3)  Set the memory size for Paradox under DESQview to 400K. In the
  106.        Memory Size text box of the Change a Program dialog box, type
  107.  
  108.        400K
  109.  
  110.  
  111. 4. SPECIFIC COMPATIBILITY PROBLEMS
  112. ----------------------------------
  113.  
  114. Q. Why do I see the DOS error message "Unexpected Condition: Memory corrupt
  115.    (TSR loaded?)" when I'm running Paradox without a TSR loaded?
  116.  
  117. A. If you're running Paradox under extremely tight memory conditions (low
  118.    real memory) and you run a PAL script that shells out to DOS and runs
  119.    COMMAND.COM (for example, your script contains a line with a DOS
  120.    command, such as "COPY file1.txt file2.txt"), you might get this DOS
  121.    error message when DOS tries to return to Paradox. This usually happens
  122.    when you have a SQL Link driver loaded. However, low real memory can
  123.    cause this in non-SQL cases because DOS 5.0 does not remove COMMAND.COM
  124.    from low memory when returning to Paradox.
  125.  
  126.    To prevent this situation and error message, start Paradox with the
  127.    command-line option -notsr. The -notsr option detects and corrects the
  128.    type of memory corruption caused by DOS 5.0 under low real memory and
  129.    SQL Link driver circumstances.
  130.  
  131.    CAUTION: Never load a TSR when you shell out to DOS from
  132.    Paradox, whether or not you've started Paradox with -notsr. If you
  133.    accidentally load a TSR when you shell out to DOS from Paradox after
  134.    starting Paradox with -notsr, this command-line option prevents Paradox
  135.    from checking memory when you shell back in to Paradox. You won't
  136.    necessarily return to Paradox cleanly, and you will not receive
  137.    a warning message from DOS.
  138.  
  139.  
  140. Q. Can I use the AST REX.SYS driver with Paradox?
  141.  
  142. A. The AST REX.SYS driver, which converts EEMS expanded memory back to
  143.    extended memory, is not compatible with Paradox. To obtain extended
  144.    memory with an EEMS board, disallow the REMM.SYS expanded memory driver
  145.    from using some or all of the memory on the board. (In some cases, you
  146.    will have to set switches on the board to accomplish this.)
  147.  
  148.  
  149. Q. How should I configure PCKwik for use with Paradox?
  150.  
  151. A. If you use PCKwik, do not supply the /A+ expanded memory option with
  152.    the /L lend option. If memory lending is desired, use /EM+ to force
  153.    use of extended memory.
  154.  
  155.  
  156. Q. Can I use an AST machine with shadow RAM to run Paradox?
  157.  
  158. A. Some AST machines with shadow RAM have shown compatibility problems with
  159.    Paradox. If you experience load problems on one of these machines,
  160.    either disable the shadow RAM, or provide less than the total amount of
  161.    extended memory to Paradox's DPMI server. To do so, set an environment
  162.    variable that specifies the maximum amount of memory that the DPMI
  163.    server will use. This variable can be entered directly at the DOS
  164.    prompt, or inserted as a line in your AUTOEXEC.BAT file, using the
  165.    syntax:
  166.  
  167.    set DPMIMEM=MAXMEM nnnn
  168.  
  169.    where nnnn is the amount of extended memory (in kilobytes) that will be
  170.    allocated to the Paradox DPMI server.
  171.  
  172.    The amount of memory you actually provide is determined by the total
  173.    extended memory minus the amount of memory used for Shadow RAM. For
  174.    example, on a machine with 4MB of RAM, 640K is typically reserved for
  175.    real memory, leaving 3456K (4096K-640K) extended memory; 128K more
  176.    reserved for Shadow RAM leaves 3328K (3456K-128K) usable extended
  177.    memory. In this case, set DPMIMEM as follows:
  178.  
  179.    set DPMIMEM=MAXMEM 3328
  180.  
  181.  
  182. Q. Can I run Paradox on a machine with more than 16MB of memory?
  183.  
  184. A. If your machine has more than 16MB of extended memory, use the following
  185.    command to set DPMI before you start Paradox:
  186.  
  187.    set DPMIMEM=MAXMEM 16000
  188.  
  189.    Then start Paradox with the -extk 16000 command-line option.
  190.  
  191.  
  192. Q. Why do I receive erroneous DOS error messages?
  193.  
  194. A. If you load SHARE for any reason and you access tables regularly with
  195.    many associated objects, you might get false error messages from DOS
  196.    when SHARE runs out of environment space. Such messages include "File
  197.    not found" when you know the file is present and "Access denied" for a
  198.    script when you go into debug mode. If you get these or other DOS
  199.    messages which you suspect are erroneous and the result of SHARE running
  200.    out of environment space, increase the size of the environment used by
  201.    SHARE. See your DOS documentation for details.
  202.  
  203.    If increasing the size of the environment for SHARE doesn't take care of
  204.    erroneous DOS messages, you can start Paradox with the -handles
  205.    command-line option as follows:
  206.  
  207.    paradox -handles n
  208.  
  209.    where n is greater than or equal to 20, or less than or equal to 64.
  210.    If you specify a number for n that is out of range, Paradox leaves the
  211.    number of handles it manages at the default. Use -handles as a
  212.    last resort, after increasing the environment space used by SHARE.
  213.    Starting Paradox with less than 64 handles has a significant negative
  214.    impact on performance.
  215.  
  216.  
  217. Q. How should I start Paradox with Qualitas' 386MAX?
  218.  
  219. A. To make Paradox work properly with version 6 of Qualitas' 386MAX, start
  220.    Paradox with the -notsr command-line option.
  221.  
  222.  
  223. Q. Why do I have problems when I choose Monochrome from the System|Video
  224.    menu?
  225.  
  226. A. When you choose monochrome from the video menu, your system will hang
  227.    if QEMM, 386MAX, or another memory manager is using the memory reserved
  228.    for a monochrome adapter. In addition, the Monochrome selection is
  229.    incompatible with some EGA adapter cards.
  230.  
  231.  
  232. Q. Why is the video mode of my Paradise VGA 1024 adapter not restored
  233.    after I exit Paradox?
  234.  
  235. A. If you exit Paradox while in high resolution mode, your prior video mode
  236.    is not restored. Start Paradox with the -bios command-line option to
  237.    prevent this situation.
  238.  
  239.  
  240. Q. Why can't I start Paradox with VSHIELD in some situations?
  241.  
  242. A. If you load VSHIELD with the /SWAP parameter, Paradox won't run. This
  243.    problem is corrected in VSHIELD versions 94 and above.
  244.  
  245.  
  246. Q. Why can't I print line drawing and other special characters on my
  247.    PostScript printer?
  248.  
  249. A. Line drawing characters are part of the IBM character set, and they are
  250.    not supported by PostScript printers. Characters that are commonly used
  251.    to represent text in foreign languages are the only special characters
  252.    that Paradox can print on a PostScript printer.
  253.  
  254.  
  255. Q. Why are mailing labels that I created in Paradox 3.5 sometimes truncated
  256.    when I print them in Paradox 4.0?
  257.  
  258. A. In Paradox 3.5, if a wordwrap field causes the height of the report's
  259.    form band to be exceeded, Paradox prints all the text by allowing the
  260.    wordwrap to change the height of your label. Paradox 4.0 will not let
  261.    wordwrap change the height of your label; instead, the wordwrap text
  262.    will be truncated. If wordwrap text is truncated when you print mailing
  263.    labels, change the height of the form band in your mailing label report.
  264.  
  265.  
  266. 5. TIPS ON THE APPLICATION WORKSHOP
  267. -----------------------------------
  268.  
  269. This section contains tips on using the Application Workshop.
  270.  
  271. Custom Procedures in Edit Session Objects
  272. -----------------------------------------
  273. - Upon returning from a procedure, leave the Paradox editing mode
  274.   (CoEdit, DataEntry, or Edit) as it was when the procedure began.
  275.   For example, if you simulate pressing F2 Do_It! to go to Main
  276.   mode, your procedure should also switch back to the editing mode
  277.   the session was in originally.
  278.  
  279. - If you move to a different table, or if you change IMAGERIGHTS for a
  280.   table, call PPP_Edit_MovedTable() to restore the table settings. This
  281.   will ensure that IMAGERIGHTS is properly set and that the Edit Session
  282.   flags are restored.
  283.  
  284.   NOTE: If View and Edit or View and Update modes were set for the
  285.   table, the table will be in View mode when the Edit Session resumes.
  286.  
  287. - If you use the CLEARPULLDOWN or SHOWPULLDOWN command, call
  288.   PPP_ESR_ArriveWindow_N() before returning from your procedure.
  289.   PPP_ESR_ArriveWindow_N() returns 1 if the cursor is on a system window;
  290.   otherwise, it returns 0 and restores the Edit Session menu. If you do
  291.   not call this procedure, the Edit Session menu is not restored until you
  292.   arrive on a new window.
  293.  
  294. - From a master form with embedded forms, or from any form when more than
  295.   one table is on the workspace, do not switch to a different form for the
  296.   same table. Even if you then return to the original form, the window
  297.   handle will be lost and movement between tables disabled for the
  298.   remainder of the Edit Session. You can, however, switch to table view
  299.   and back.
  300.  
  301. - When returning from a custom procedure in an Edit Session, set global
  302.   echo to NORMAL; otherwise, unexpected screen displays will occur in
  303.   subsequent actions.
  304.  
  305. Attaching Your Own Code to an Action
  306. ------------------------------------
  307. - Always leave your procedure with echo set to OFF when returning to the
  308.   Application Workshop, EXCEPT with an Edit Session, in which case set
  309.   echo to NORMAL.
  310.  
  311. - If your code is attached to an object, always leave the workspace as you
  312.   found it.
  313.  
  314. - If your code is an object (ExecProc, Execute, or Script), you can do what
  315.   you want with the workspace, but it must be left in Main mode at
  316.   completion. We suggest a RESET before returning to the Application
  317.   Workshop. Application Workshop objects generally avoid the RESET command
  318.   so your locks aren't cleared between actions.
  319.