Visual FoxPro, FoxPro for Win/DOS and Other Table, Memo and Index Viewer/EDITOR
Visual FoxPro, FoxPro for Win/DOS and Other *.MEM files viewer
Support for Long File Names

                               Freeware!

Copyright 1997-9 Milan Kosina - All Rights Reserved.

If You want to obtain NEW VERSIONS AUTOMATICALLY or if You have
any comment and/or bug report, send e-mail to :

	kosina@vol.cz

Small Description :


VFPView is fast and little Visual FoxPro and FoxPro for Windows/DOS table viewer.
VFPView supports different video modes (50 lines,...).

From version 3.2 it is possible to display Character fields longer than 80 chars!

From version 3.1 it is possible to serch ALL fields (Ctrl+F7/Alt+F7).
	It is also possible to define SET FILTER (Shift F3).
	You can also do COPY TO ... FILEDS ... TYPE DELIMITED (Shift F5).

From version 3.0 it is possible to use LONG FILE NAMES!
    Format of date fields is now taken from operating system or from VFPView.INI.
    In VFPView.INI you can specify format for Currency (default is too wide).
    In VFPView.INI you can specify which table form Hiew.XLT use for which code page.

From version 2.8 VFPView automatically use proper code page translation table.
From version 2.7 run on Pentium >200 MHz.
From version 2.6 also support for MEM files !
From version 2.5 also able to EDIT tables (see Shift+F10 command) !
From version 2.3 also able to REPAIR DAMAGED HEADERS !
	(But of course only after Your decision to do it)

Command syntax : VFPView [Path\][Table[.DBF]]

Examples :
	VFPView TABLE           --> Display TABLE.DBF
	VFPView CLASS.VCX       --> Display CLASS.VCX
	VFPView                 --> Select DBF table from current directory
	VFPView C:\DIR\         --> Select DBF table from C:\DIR\
	VFPView C:\DIR\*.DBC    --> Select DBC database from C:\DIR\

Keyboard Help :

F1              Display copyright info, e-mail address and little help
F2              Display header info, type of table, table code page
                !!! Display also info about CDX indexes !!!
F3              Display fields info (name, type, length, binary,
                                     NULL support, system column)
                !!! POSSIBLE TO SELECT FIELDS TO DISPLAY !!!
		This can be used for selecting fields.
F4/Enter        Change between Browse and Edit display format
F5              Go to record number
Shift F5		COPY TO ... FIELDS ... TYPE DELIMITED (use F3 to select fields)
F6/Shift F6     Display contents of Memo / Long CHaracter field
F7/Shift F7     Search field (case not-sensitive) / Search Next'
Ctrl F7/Alt F7  Search all fields (not memo) / Search Next
F8              Use translation table for codepages - see XLT info later
F9              Select different table (*.DBF, *.DBC, *.VCX, ... - based on 
			command line) in the same directory
Gray +/-        !!! Select next/previous table in the same directory !!!
F10/ESC         End of VFPView

Shift F10       Local menu for table/field editing (use it only at Your risk!)

Home/End        Go to first/last record
Up/Down         Go to previous/next record
PgUp/PgDn       Go to previous/next page of records
Left/Right      Go to previous/next field
Ctrl+Left/Right Go to first/last field

Notes : 
    Black background of second line with RecNo/RecCount == record is DELETED


 VFPView.INI file structure 
VFPView.INI is currently used for :

- defining format for Currency data type - default is 22 long with 4 decimal
places - this is too wide and not very usefull. For my it is enough to use :
	Y(12,2)
that is 12 char long with 2 decimal places

- define Date and Datetime format - must be 10 characters long and position of 
day, month and year is defined with DD, MM and YYYY
Examples :
DATE=MM/DD/YYYY
DATE=YYYY-MM-DD
DATE=DD.MM.YYYY
If date and datetime format is not defined in VFPView.INI, it is taken from 
operating system

- defining which code page transaltion table from Hiew.XLT file to use for which
code page - just define
	XLT4=895
that is use 4. table when table is marked with code page number 895


 XLT file structure 

For translating code pages is used table from (IMHO) best freeware text viewer
HIEW (Hacker View) version 6.04, so it's not necessary to build new one.
It's name is HIEW.XLT and must be in same directory as VFPVIEW. From HIEW 
documentation :

typedef  struct{
   BYTE  sign[ 9 ],             // "HiewXlat",0
         unused[ 5 ],
         versionMajor,          // 0x05
         versionMinor;          // 0x40
   }XLAT_HEADER;

typedef  struct{
   BYTE  title[ 16 ],           // show in F8
         tableOut[ 256 ],       // for output
         tableIn[ 256 ],        // for input
         tableUpper[ 256 ];     // for search with ignore case
   }XLAT;

 Maximal count xlat-table is 15.

I want to thank Vitek Jurenka for supplying more code pages translation.
