home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.alaska-software.com
/
2014.06.ftp.alaska-software.com.tar
/
ftp.alaska-software.com
/
acsn
/
Flex2Xpp.txt
< prev
next >
Wrap
Text File
|
2000-01-02
|
2KB
|
55 lines
READ.ME for FlexXPP sample 12/31/98
* The package contains the following files :
browse.prg = adapted source for browser for FOXDBE files
DBV2DBT.prg = Clipper source to convert DBV to DBT
DBV2XPP.prg = Xbase++ source to import converted data
util.prg = shared source for Clipper and Xbase++
PROJECT.XPJ = project file
r.bat = make batch for Clipper app
read.me = this file
test.DBF = sample table
test.DBV
* how to build the EXEs :
- adapt R.BAT to your Clipper environment
- run R.BAT to build the Clipper DBV2DBT.EXE
(this requires COMIX and FlexFile LIBs)
- run PBuild to build the Xbase++ apps
* what are your first steps :
- first I recommend to use the sample table
- start DBV2DBT and watch comments
- start DBV2XPP and again read the comments
- have a look at your work with BROWSE and even try to change
the values of the NOTES column or use the mouse
* NOW you can try one of your tables :
- DBV2DBT <myTable>
- DBV2XPP <myTable>
- BROWSE <myTable>
* what leaves to do in my app to use the data :
- you need to adapt your dbeSys() PROCEDURE to use FOXDBE
- you have to use Bin2Var() conversion for reading the data
- you have to use Var2Bin() conversion for writing the data
- you may change my tiny tools that you also convert the character
memos and store them with Var2Bin() that you don't need to differ
between the types
* Special NOTES : (unsorted as they come to mind)
- I will NOT touch your data
- there are 3 steps for your data : convert, import, browse
- first the data is stored to a "_" table
- second conversion copies data to "__" table
- all EXE do add the underscores implicitly
- I added functionality for STRING, DATE, LOGICAL, NUMERIC and ARRAY in
the flexfile memo fields
It worked fine for all my tables which I could find on my drive and I did
really use the FlexFile memos with strange stuff <g>.
Have fun,
Frank++