component/ZUpdateSqlEditor.pas File Reference

Go to the source code of this file.

Classes

class  TSQLParser
class  TZUpdateSQLEditForm
class  TZUpdateSqlEditor

Typedefs

typedef void(* TWaitMethod )()

Enumerations

enum  TSQLToken {
  stSymbol, stAlias, stNumber, stComma,
  stEQ, stOther, stLParen, stRParen,
  stEnd, stSemiColon
}

Functions

Boolean EditUpdateSQL (TZUpdateSQL AZUpdateSQL)
 GetDataFieldNames (TDataset Dataset, string ErrorName, TStrings List)
 GetDataKeyNames (TDataset Dataset, string ErrorName, TStrings List)
 GetSelectedItems (TListBox ListBox, TStrings List)
 InitFromUpdateSQL ()
string InternalQuoteIdentifier (const string S, const string QuoteString)
 ParseUpdateSQL (const string SQL, const string QuoteString, string &TableName, TStrings UpdateFields, TStrings WhereFields)
 SelectAll (TListBox ListBox)
Integer SetSelectedItems (TListBox ListBox, TStrings List)

Variables

const SNoDataSet = "No dataset association"
const SSQLDataSetOpen = "Unable to determine field names for %s"
const SSQLGenSelect = "Must select at least one key field and one update field"
const SSQLNotGenerated = "Update SQL statements not generated, exit anyway?"


Typedef Documentation

typedef void(* TWaitMethod)()

Definition at line 94 of file ZUpdateSqlEditor.pas.


Enumeration Type Documentation

enum TSQLToken

Enumerator:
stSymbol 
stAlias 
stNumber 
stComma 
stEQ 
stOther 
stLParen 
stRParen 
stEnd 
stSemiColon 

Definition at line 304 of file ZUpdateSqlEditor.pas.


Function Documentation

Boolean EditUpdateSQL ( TZUpdateSQL  AZUpdateSQL  ) 

Definition at line 473 of file ZUpdateSqlEditor.pas.

GetDataFieldNames ( TDataset  Dataset,
string  ErrorName,
TStrings  List 
)

Definition at line 606 of file ZUpdateSqlEditor.pas.

GetDataKeyNames ( TDataset  Dataset,
string  ErrorName,
TStrings  List 
)

Definition at line 566 of file ZUpdateSqlEditor.pas.

GetSelectedItems ( TListBox  ListBox,
TStrings  List 
)

Definition at line 490 of file ZUpdateSqlEditor.pas.

InitFromUpdateSQL (  ) 

Definition at line 1197 of file ZUpdateSqlEditor.pas.

string InternalQuoteIdentifier ( const string  S,
const string  QuoteString 
)

Definition at line 420 of file ZUpdateSqlEditor.pas.

ParseUpdateSQL ( const string  SQL,
const string  QuoteString,
string &  TableName,
TStrings  UpdateFields,
TStrings  WhereFields 
)

Definition at line 638 of file ZUpdateSqlEditor.pas.

SelectAll ( TListBox  ListBox  ) 

Definition at line 540 of file ZUpdateSqlEditor.pas.

Integer SetSelectedItems ( TListBox  ListBox,
TStrings  List 
)

Definition at line 510 of file ZUpdateSqlEditor.pas.


Variable Documentation

const SNoDataSet = "No dataset association"

Definition at line 402 of file ZUpdateSqlEditor.pas.

const SSQLDataSetOpen = "Unable to determine field names for %s"

Definition at line 401 of file ZUpdateSqlEditor.pas.

const SSQLGenSelect = "Must select at least one key field and one update field"

Definition at line 403 of file ZUpdateSqlEditor.pas.

const SSQLNotGenerated = "Update SQL statements not generated, exit anyway?"

Definition at line 404 of file ZUpdateSqlEditor.pas.


Generated on Wed Dec 30 08:42:41 2009 for zeoslib by  doxygen 1.5.7.1