Sign in Join
Wiki copytemporary

JCSV (Jans CSV Components): what changed

Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11### About
22
33*JCSV (Jans Freeware CSV Database Components* is a set of components for using a CSV Database
44
55The download contains the component, an installation package.
66
77### Author
88
99Jan Verhoeven Email jan1.verhoeven at wxs.nl Modified by David Stewart Email davesimplewear at yahoo dot com
1010
1111### License
1212
1313[modified](http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL) [LGPL](http://svn.freepascal.org/svn/lazarus/trunk/COPYING.LGPL) (same as the FPC RTL and the Lazarus LCL). You can contact the author if the modified LGPL doesn't work with your project licensing.
1414
1515### Download
1616
1717The latest stable release can be found on [the lazarus-ccr sf download location](http://sourceforge.net/projects/lazarus-ccr/files/JCSV/). Also from [David's Freeware](http://www.users.on.net/~dave.stewart/index.html).
1818
1919### Example Program
2020
2121To create the example first create your csv database, using your text editor type the field names you wish to use, as in the image below.
2222
23-![`Example.png`](/wiki-images/7/70/Example.png)
23+```text
24+Image:Example.png
25+```
2426
2527You can search on any field by using the search button in the navigator. as shown in the images below.
2628
2729![](/wiki-images/f/f3/Csv.png)
2830
2931![](/wiki-images/6/67/Csv1.png)
3032
3133![](/wiki-images/0/07/Csv2.png)
3234
3335The example code is listed below also.
3436
3537``` pascal
3638uses
3739 Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
3840 StdCtrls, jvCSVBase;
3941
4042type
4143
4244 { TForm1 }
4345
4446 TForm1 = class(TForm)
4547 Button1: TButton;
4648 CSVBase: TjvCSVBase;
4749 jvCSVCheckBox1: TjvCSVCheckBox;
4850 jvCSVComboBox1: TjvCSVComboBox;
4951 jvCSVEdit1: TjvCSVEdit;
5052 jvCSVEdit2: TjvCSVEdit;
5153 jvCSVEdit3: TjvCSVEdit;
5254 jvCSVEdit4: TjvCSVEdit;
5355 jvCSVEdit5: TjvCSVEdit;
5456 jvCSVEdit6: TjvCSVEdit;
5557 jvCSVEdit7: TjvCSVEdit;
5658 jvCSVEdit8: TjvCSVEdit;
5759 jvCSVEdit9: TjvCSVEdit;
5860 jvCSVLabel1: TjvCSVLabel;
5961 jvCSVNavigator1: TjvCSVNavigator;
6062 Label1: TLabel;
6163 Label2: TLabel;
6264 Label3: TLabel;
6365 Label4: TLabel;
6466 procedure Button1Click(Sender: TObject);
6567 procedure FormShow(Sender: TObject);
6668 private
6769 { private declarations }
6870 public
6971 { public declarations }
7072 end;
7173
7274var
7375 Form1: TForm1;
7476
7577implementation
7678
7779{ TForm1 }
7880
7981procedure TForm1.FormShow(Sender: TObject);
8082begin
8183 CSVbase.DataBaseOpen(ExtractFilePath(ParamStr(0))+'example.csv');
8284end;
8385
8486procedure TForm1.Button1Click(Sender: TObject);
8587begin
8688 jvCSVEdit8.Caption:= FormatDateTime('dd/mm/yy',now);
8789end;
8890
8991initialization
9092 {$I Unit1.lrs}
9193
9294end.
9395```
9496
9597### Change Log
9698
9799- Version 1.0 *date*
98100
99101### Dependencies / System Requirements
100102
101103- None
102104
103105Status: *Stable / Alpha*
104106
105107Issues:
106108
107109### Installation
108110
109111- Use *.lpk file to install
110112
111113### See Also
112114
113115- [[CsvDocument]]
114116- [[CSV]]
115117- [[ZMSQL]]
116118
117119---
118120*From the Free Pascal wiki, page "JCSV (Jans CSV Components)", as it stood on 2020-02-10 after a change by Andry, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
119121Category: Components
120122Category: Data import and export

Back to history