home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / kompon / d356 / SDFDATA.ZIP / readme.txt next >
Text File  |  2001-07-19  |  6KB  |  77 lines

  1. {-----------------------------------------------------------------------------}
  2. { Name        : SdfData                                                       }
  3. { Application : TBaseTextDataSet TSdfDataSet TFixedFormatDataSet Components   }
  4. { Version     : 1.03                                                          }
  5. { Author      : Orlando Arrocha           email: oarrocha@hotmail.com         }
  6. { Date        : Jan 2001                                                      }
  7. { Purpose     : This components are enhancements of the Borland's Sample      }
  8. {               TTextDataSet to access delimited (CSV/SDF) and fixed text     }
  9. {               files as if they where database tables.                       }
  10. { ---------                                                                   }
  11. {  History                                                                    }
  12. { ---------                                                                   }
  13. { 19/Jul/01  Version 1.03 (Orlando Arrocha)                                   }
  14. { 18/Jun/01  Version 1.02 (Wayne Brantley)                                    }
  15. { 30/Mar/01  Version 1.01 (Orlando Arrocha)                                   }
  16. { 10/Jan/01  Version 1.00 (Orlando Arrocha)                                   }
  17. { ---------                                                                   }
  18. {  TERMS                                                                      }
  19. { ---------                                                                   }
  20. {   This component is provided AS-IS without any warranty of any kind, either }
  21. {   express or implied. This component is freeware and can be used in any     }
  22. {   software product. Credits on applications used will be welcomed.          }
  23. {   If you find it useful, improve it or have a wish list ... please drop me  }
  24. {   a mail, I'll be glad to hear your comments.                               }
  25. { ----------------                                                            }
  26. {  How to Install                                                             }
  27. { ----------------                                                            }
  28. {   1. Copy this SDFDATA.PAS and the associated SDFDATA.DCR to the folder     }
  29. {      from where you wish to install the component. This will probably be    }
  30. {      $(DELPHI)\Projects\BPL or a sub-folder of the $(DELPHI)\lib folder.    }
  31. {   2. Copy to the same folder (the one choosen before) the files             }
  32. {        $(DELPHI)\Demos\DB\Textdata\Textdata.*  (3 files - .pas, .res, .rc)  }
  33. {        $(DELPHI)\Demos\DB\Textdata\Textpkg.*   (2 files - .dpk, .res)       }
  34. {   3. Make the modifications noted under TEXTDATA.PAS Modifications          }
  35. {      subtitle. Note -- change only your copied files.                       }
  36. {   4. Install TEXTPKG.DPL by choosing the File | Open menu option.           }
  37. {   5. Select Delphi Package (.dpk) filter on the Open File dialog and browse }
  38. {      for TEXTPKG.DPK.                                                       }
  39. {   6. Press the Install button and close the window.                         }
  40. {   7. Install the TSdfDataSet and TFixedFormatDataSet components by choosing }
  41. {      the Component | Install Component menu option.                         }
  42. {   8. Select the "Into exisiting package" page of the Install Components     }
  43. {      dialogue box.                                                          }
  44. {   9. Browse to the folder where you saved this file and select it.          }
  45. {  10. Ensure that the "Package file name" edit box contains                  }
  46. {      $...\TEXTPKG.DPK                                                        }
  47. {  11. Accept that the package will be rebuilt.                               }
  48. {                                                                             }
  49. { ******************                                                          }
  50. { * VERY IMPORTANT *                                                          }
  51. { ******************                                                          }
  52. {       You have to modify the file TEXTDATA.PAS, included in the DB Demos,   }
  53. {       as indicated behind (under TEXTDATA.PAS Modifications) and then       }
  54. {       compile and install TextPKG.DPK in order to install this component.   }
  55. {                                                                             }
  56. { ==========================                                                  }
  57. { TEXTDATA.PAS Modifications                                                  }
  58. { ==========================           MAKE A BACKUP OF TEXTDATA.PAS FIRST    }
  59. {                                                                             }
  60. { Line : 327 in Function GetRecord                                            }
  61. {   -- Line says --                                                           }
  62. {     StrLCopy(Buffer, PChar(FData[FCurRec]), MaxStrLen);                     }
  63. {                                             ^^^^^^^^^                       }
  64. {   -- must say  --                                                           }
  65. {     StrLCopy(Buffer, PChar(FData[FCurRec]), GetRecordSize);                 }
  66. {                                             ^^^^^^^^^^^^^                   }
  67. {                                                                             }
  68. { Line : 79 in TTextDataSet class Declaration                                 }
  69. {   -- Line says --                                                           }
  70. { private                                                                     }
  71. { ^^^^^^^                                                                     }
  72. {   -- must say  --                                                           }
  73. { protected                                                                   }
  74. { ^^^^^^^^^                                                                   }
  75. {                                                                             }
  76. {-----------------------------------------------------------------------------}
  77.