Sign in Join
Wiki copytemporary

JCSV (Jans CSV Components): what changed

Revision 1 to 2. 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
2323![`Example.png`](/wiki-images/7/70/Example.png)
2424
2525You can search on any field by using the search button in the navigator. as shown in the images below.
2626
27-<figure>
28-<img src="Csv.png" title="Csv.png" />
29-<figcaption>Csv.png</figcaption>
30-</figure>
27+![](/wiki-images/f/f3/Csv.png)
3128
32-<figure>
33-<img src="Csv1.png" title="Csv1.png" />
34-<figcaption>Csv1.png</figcaption>
35-</figure>
29+![](/wiki-images/6/67/Csv1.png)
3630
37-<figure>
38-<img src="Csv2.png" title="Csv2.png" />
39-<figcaption>Csv2.png</figcaption>
40-</figure>
31+![](/wiki-images/0/07/Csv2.png)
4132
4233The example code is listed below also.
4334
4435``` pascal
4536uses
4637 Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
4738 StdCtrls, jvCSVBase;
4839
4940type
5041
5142 { TForm1 }
5243
5344 TForm1 = class(TForm)
5445 Button1: TButton;
5546 CSVBase: TjvCSVBase;
5647 jvCSVCheckBox1: TjvCSVCheckBox;
5748 jvCSVComboBox1: TjvCSVComboBox;
5849 jvCSVEdit1: TjvCSVEdit;
5950 jvCSVEdit2: TjvCSVEdit;
6051 jvCSVEdit3: TjvCSVEdit;
6152 jvCSVEdit4: TjvCSVEdit;
6253 jvCSVEdit5: TjvCSVEdit;
6354 jvCSVEdit6: TjvCSVEdit;
6455 jvCSVEdit7: TjvCSVEdit;
6556 jvCSVEdit8: TjvCSVEdit;
6657 jvCSVEdit9: TjvCSVEdit;
6758 jvCSVLabel1: TjvCSVLabel;
6859 jvCSVNavigator1: TjvCSVNavigator;
6960 Label1: TLabel;
7061 Label2: TLabel;
7162 Label3: TLabel;
7263 Label4: TLabel;
7364 procedure Button1Click(Sender: TObject);
7465 procedure FormShow(Sender: TObject);
7566 private
7667 { private declarations }
7768 public
7869 { public declarations }
7970 end;
8071
8172var
8273 Form1: TForm1;
8374
8475implementation
8576
8677{ TForm1 }
8778
8879procedure TForm1.FormShow(Sender: TObject);
8980begin
9081 CSVbase.DataBaseOpen(ExtractFilePath(ParamStr(0))+'example.csv');
9182end;
9283
9384procedure TForm1.Button1Click(Sender: TObject);
9485begin
9586 jvCSVEdit8.Caption:= FormatDateTime('dd/mm/yy',now);
9687end;
9788
9889initialization
9990 {$I Unit1.lrs}
10091
10192end.
10293```
10394
10495### Change Log
10596
10697- Version 1.0 *date*
10798
10899### Dependencies / System Requirements
109100
110101- None
111102
112103Status: *Stable / Alpha*
113104
114105Issues:
115106
116107### Installation
117108
118109- Use *.lpk file to install
119110
120111### See Also
121112
122113- [[CsvDocument]]
123114- [[CSV]]
124115- [[ZMSQL]]
125116
126117---
127118*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).*
128119Category: Components
129120Category: Data import and export

Back to history