  __________________________________________________
 /                                                  \
|     Simple Query 1.5 package for Delphi 3,4 by     |
|          Korzh company (info@korzh.com)            |
 \__________________________________________________/


Overview
--------
Simple Query is the set of native VCL-components which provides a graphical interface to construct SQL SELECT statements visually.
The main purpose of the pack is to give the end user an opportunity to 
create complicated queries to the database without learning SQL or any other query language.Simple Query pack consists of 3 key 
components: TKDBStructure, TKQueryPanel and TKDBInfo.
Now you can write TKDBInfo descendants for BDE alternatives support.

Get the power of SQL with the accessibility of natural language!


Files list
----------
Directory structure:

\d3\	   	 Delphi 3 files
\d4\		 Delphi 4 files
\BDEAlt\	 BDE alternatives support
\demo\  	 Demo program
\help\   	 Help Files
history.txt 	 Package history (new versions changes)
readme.txt	 This file
registb.txt	 Binaries registration info
register.txt	 Source code registration info
---------
Package contents :

\d3\sq3.dpk		Simple Query package for Delphi 3
\d4\sq4.dpk		Simple Query package for Delphi 4
\dX\sqreg.pas		Register components file
\dX\sqreg.dcr		Register components resource
\dX\kdbinfo.pas 	BDE alternatives ancestor
\dX\odbcxinf.pas 	ODBC Express support component
\dX\ddlabel.dcu
\dX\krndbtn.dcu
\dX\fldedit.dcu
\dX\fldedit.dfm
\dX\kdbstruc.dcu
\dX\kdsedit.dcu
\dX\kdsedit.dfm
\dX\keditlnk.dcu
\dX\keditlnk.dfm
\dX\klistpnl.dcu
\dX\klistpnl.dfm
\dX\kquerpnl.dcu
\dX\smplquer.dcu
\dX\krndbtn.dcu 
\dX\kdbinfo.dcu
\d3\sq3.dpl
\d4\sq4.bpl
---------

BDE Alternatives support files:

\BDEAlt\odbcxinf.pas 	ODBC Express support component
\BDEAlt\odbcxinf.dcr 
---------

Demo program source:

\demo\sq_demo.dpr  	Demo project file 
\demo\sqd_main.pas	Main form source
\demo\about.pas		About form source
\demo\datedlg.pas       Custom editor form source
\demo\datedlg.dfm       Custom editor form
\demo\sqd_main.dfm	Main form
\demo\about.dfm		About form
\demo\dbdem.dbs		Example database structure
\demo\aqua.qry		Example query 1
\demo\visa.qry		Example query 2
\demo\bishop.qry 	Example query 3
-------------

Help files

\help\smplquer.cnt	Simple Query contents file
\help\smplquer.hlp	Simple Query help file
------------


Installation
------------
Simple Query distributs by 2 ways : 
1. Installation package: smq.exe
2. Package for manual installation: smq.zip

Both files can be downloaded from http://www.korzh.com/simplequery.htm
Installation package installs Simple Query into Delphi3 and Delphi4 included
help files. Just run smq.exe.

In case you prefer to install Simple Query by hands read the following instructions.

1.Package installation:
	a. Unpack files from \dX\ subdirectory where X in [3,4]
	b. Use "File\Open..." menu item of Delphi IDE to open smplquer.dpk 
	c. In "Package..." window click "Install" button to register Simple Query
	components on the "Simple Query" page.
2.Help Installation
	a. Move Simple Query help files into your Delphi help directory
	b. Add into DelphiX.cfg file the following line
         	:Link smplquer.hlp
	c. Add into DelphiX.cnt file the following line into index section:
		:Index Simple Query pack =smplquer.hlp 
	d. Add into DelphiX.cnt file the following line into include section:
		:Include smplquer.cnt
 	for more information read "How to add third-party help" topic in DelphiX.cfg.


BDE alternatives support
-------------------------
Simple Query contains TKDBInfo component. This component can be used as
an ancestor for components which provides BDE alternatives support.
Simple Query also contains one TKDBInfo descendant TOEDBInfo for 
ODBC Express 5 support. You can see example in odbcxinf.pas.
To write new TKDBInfo descendant you should override the following methods:

procedure TablesByDatabase(TablesList : TStrings); 
 // Returns tables list in database

procedure FieldsByTable(const TableName : string; FieldsList : TDBFieldList); 
 // Returns list of fields by table name. TDBFieldList declared in kdbinfo.pas

procedure GetDatabaseNames(AList : TStrings);
 // Returns available database names


Demo version limitations
-------------------------
All the package components work only with Delphi IDE.
Don't crack them, please. 
We were working hard to develop these components for you :)
We believe that you'll find them useful.

You can purchase the Simple Query component set without all the limitation 
	a. with source code. For more information, please, read register.txt
 	b. without source code(binaries only). For more information, please, read registb.txt
or go http://www.korzh.com/simplequery.htm for online registering.


Copyrights
----------
All rights are reserved by Sergey Korzh & Sergey Lelyushkin.
e-mail: info@korzh.com
e-mail: lel@korzh.com
 
http://www.korzh.com

On these pages you can find all the information about new 
versions of this package and about other our products. 
