See ChangeLog entry 2002-09-13 23:25 UTC-0400 David G. Holm <dholm@jsd-llc.com>
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2002-09-13 23:30 UTC-0400 David G. Holm <dholm@jsd-llc.com>
|
||||
* source/rtl/dbdelim.prg
|
||||
! Bug fix for fields that have an embedded delimiter.
|
||||
|
||||
2002-09-13 22:20 UTC-0400 David G. Holm <dholm@jsd-llc.com>
|
||||
* source/rtl/dbdelim.prg
|
||||
! Bug fixes for consecutive blank fields in a record and for
|
||||
|
||||
@@ -298,7 +298,7 @@ row:=row+cSeparator
|
||||
nPosSep:=1
|
||||
nPosNextSep:=at(cSeparator,row) // seek the first Separator eg. ,
|
||||
nPos1Deli:=at(cDelim,row) // seek the first delimiter "
|
||||
nPos2Deli:=at(cDelim,row,nPos1Deli+1) // seek the second delimiter "
|
||||
nPos2Deli:=at(cDelim+cSeparator,row,nPos1Deli+1) // seek the second delimiter "
|
||||
if nPos1Deli > 0 .and. nPos2Deli > 0
|
||||
if nPosNextSep>nPos1Deli .and. nPosNextSep<nPos2Deli
|
||||
nPosSep:=nPos1Deli
|
||||
@@ -313,7 +313,7 @@ do while .t.
|
||||
exit
|
||||
endif
|
||||
nPos1Deli:=at(cDelim,row,nPosSep) // seek the first delimiter "
|
||||
nPos2Deli:=at(cDelim,row,nPos1Deli+1) // seek the second delimiter "
|
||||
nPos2Deli:=at(cDelim+cSeparator,row,nPos1Deli+1) // seek the second delimiter "
|
||||
if nPos1Deli > 0 .and. nPos2Deli > 0
|
||||
if nPosNextSep>nPos1Deli .and. nPosNextSep<nPos2Deli
|
||||
nPosSep=nPos1Deli
|
||||
|
||||
Reference in New Issue
Block a user