The below test is based on two comp.lang.xharbour reports.
My question is: how should behave xHarbour, when a file with name OutFile
exists along the currently set pathes?
I mean a client-server and web-friendly modern xHarbour.

Ella

Tested with xBuilderW  beta 8.3  on Windows XP SP3:

1. Build an executable with the following test code - let's say the .exe
file is in folder .\MYAPP

function main()
   local aStru:={ { "NAME", "C", 10, 0 } }
   set path to mysub
   dbcreate( "table1.dbf", aStru, , .F. )
   dbappend()
   replace name with "John"
   dbappend()
   replace name with "Jane"
   copy to table2
   dbclosearea()
   wait "..."
return nil

2. in folder .\MYAPP  create subfolder  MYSUB
3. take whatever dBase III table, copy it into MYSUB and rename it to
table2.dbf
4. go back in folder .\MYAPP and run the executable, press <Enter> to
terminate it
5. here I have the followings:
-  table1.dbf  is created in  .\MYAPP
-  table2.dbf  is in  .\MYAPP\MYSUB  as a result of overwriting the "old"
table2.dbf found in this subfolder ( the file header info shows when the
"old" file was created )
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to