VERSIONS: P7
SUBJECT: Frequently Asked Questions about Experts
BY: BORLAND
Paradox 7 (32 bit and 16 bit) Issues
Q: HOW CAN I USE THE TEXT IMPORT EXPERT TO IMPORT A TEXT FILE THAT HAS SPECIAL CHARACTERS AS THE
SEPARATOR OR DELIMITER?
A: Step six of the Text Import Expert asks for the characters used to separate or delimit the text file. Suppose the fields in the text file are
separated by tabs. Move focus to the Separator field. Press Ctrl+T. This prepares the field to accept a special character. Now press the Tab key.
Only in this way does the specification for the import include tabs as separators. Substitute other special characters for the tab as needed.
Q: IF YOU HAVE MORE THAN ONE VERSION OF A PARTICULAR WORD PROCESSOR INSTALLED, HOW DOES THE MERGE
EXPERT KNOW WHICH VERSION OF THE WORD PROCESSOR TO LOAD WHEN IT MERGES THE DATA?
A: The Merge Expert follows a three-step process to determine which version of the word processor to load:
- It searches the registry for an entry of the particular word processor chosen.
- If it can't find an entry in the registry, it searches the WIN.INI [Extensions] section for the entry.
- If it does not find an entry in the WIN.INI file, it searches the PATH for the executable file.
If the registry displays the path for an older version of the word processor, then the Merge Expert loads that version of the word processor. In
this scenario, the user may need to change the registry entry or, better yet, reinstall the newer word processor.
Q: IS THERE A WAY TO USE THE OBJECT EXPERTS (BUTTON, FIELD, TEXT, AND CHART) ON EXISTING OBJECTS RATHER
THAN JUST NEW OBJECTS?
I WANT TO BE ABLE TO USE THE PARADOX 7 FOR WINDOWS 95 & WINDOWS NT OBJECT EXPERTS ON AN AS NEEDED BASIS,
BUT I DON'T WANT THESE EXPERTS TO LOAD EVERY TIME AN OBJECT IS CREATED.
A: You can download an enhancement to the Object Expert. This utility enables you to use the Object Experts from the menu. Tools | Object
Experts. When the menu choice is selected, the selected object must be either a field, button, text, or chart.
The Object Experts Enhancement is available on this online service:
ftp://ftp.corel.com/pub/Paradox/PdoxWin/UnIndexed/BI33.ZIP
After you download BI33.ZIP, unzip it and copy Install.SSL and ObjExp.SSL (contained in BI33.ZIP) to your current working directory and
run the script Install.SSL (choose File | Open | Script, choose Install.SSL). This adds the key
HKCU\Software\Borland\Paradox\7.0\PXDLITE\Tools\Object Expert to the Windows Registry (HKCU is an abbreviation for
HKEY_CURRENT_USER).
This creates the Object Experts menu choice on the Tools menu. When you choose Tools | Object Experts, Paradox runs the appropriate
expert for the selected object.
Q: HOW CAN I CREATE OBJECTS ON A FORM WITHOUT USING THE OBJECT EXPERTS?
A: In Paradox 7, it is the default behavior for the Object Experts (Field Expert, Button Expert, Text Expert, etc.) to automatically load when
creating an object on a form. To disable this behavior uncheck the property Run Experts When Creating Objects On Documents. To do this in
Paradox 7 for Windows 95, choose Edit | Preferences, click the Experts.
Q: HOW CAN I DELETE SETTINGS THAT I HAVE CREATED FOR THE MERGE EXPERT?
A: Settings for the Merge Expert are stored in EXPMERGE.DB in your Paradox Home Directory (C:\Program
Files\Borland\Paradox\PDOXHOME by default). Each record corresponds to one setting. To delete an entry, delete the corresponding record in
the table.
Q: HOW CAN I ADD CUSTOM BUTTONS TO THE BUTTON EXPERT?
A: Edit the EXPBTNS.DB table in the Paradox\Experts\Button directory. It contains fields for Category Name (you add your own new ones
if you wish), Action Name (the description for the button), code (where your code goes), MethodName (the name of the method where the code
goes), DefaultLabel (the label for the button) and DefaultBMP (the default graphic, which may be blank). There are other fields, but they don't
need to be modified.
Q: I HAVE THE LATEST PRINTER DRIVER INSTALLED (FOR MY PRINTER) AND HAVE A THE PAPER SIZE SET TO 8 1/2" x 11".
WHY DOES THE MAILING LABEL EXPERT ONLY PRINT ONE LABEL PER PIECE OF PAPER, INSTEAD OF PRINTING MANY LABELS PER
PIECE OF PAPER?
A: There are a number of possible solutions to this problem.