Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter<br />
5<br />
5.1 The Logging Engine<br />
Trouble-shooting<br />
If you are having problems running PC*MILER|Spreadsheets it may be helpful to<br />
run the logging engine. Start the engine by double-clicking the log engine icon<br />
created during the PC*MILER|Spreadsheets installation. This will create a<br />
window that receives messages describing PC*MILER|Spreadsheets processes.<br />
Use the function PCMSSetDebug to receive more details:<br />
PCMSSetDebug(Level)<br />
The debug level is set by entering the SetDebugLevel command within the active<br />
spreadsheet. Available levels are 0-19; the higher the number the more messages<br />
will be logged. The debug level can also be set in the PCMSERVE.INI file (see<br />
Appendix A):<br />
DebugLevel=12<br />
5.2 Postal Codes with Leading Zeroes<br />
If you enter a postal code with a leading zero (e.g. 08540) Excel may interpret it<br />
as a number and remove the leading zero. To correct this problem, either type an<br />
apostrophe in front of the postal code (e.g. ‘08540) or format the field as text<br />
(“Text” category of the “Format Cells” command).<br />
NOTE: In North America, the database also includes 3-digit U.S. ZIP Codes.<br />
5.3 Converting Minutes to Hour:Minute Format<br />
The DriveTime function returns the drive time between two points in minutes,<br />
but sometimes it is convenient to see the time in hour:minute format. To display<br />
drive times as “days hours:minutes” in Excel, you must first convert minutes to<br />
days by dividing by 24*60. For example:<br />
=DriveTime (A2,B2)/(24*60)<br />
PC*MILER|Spreadsheets User’s Guide 43