程序清單
unit unit
interface
uses
SysUtils
Forms
type
TQueryForm = class(TForm)
BitBtn
DataSource
Table
GroupBox
CheckBox
CheckBox
PageControl
TabSheet
Label
Label
Label
ListBox
ListBox
ListBox
TabSheet
Memo
procedure FormCreate(Sender: TObject)
procedure ListBox
procedure ListBox
end;
var
QueryForm: TQueryForm;
implementation
{$R *
uses RSLTFORM;
procedure TQueryForm
begin
Screen
{ Populate the alias list }
with ListBox
begin
Items
Session
end;
{ Make sure there are aliases defined }
Screen
if ListBox
MessageDlg(
mtError
end;
procedure TQueryForm
var
strValue: string; { Holds the alias selected by the user }
bIsLocal: Boolean; { Indicates whether or not an alias is local }
slParams: TStringList; { Holds the parameters of the selected alias }
iCounter: Integer; { An integer counter variable for loops}
begin
{ Determine the alias name selected by the user }
with ListBox
strValue := Items
{ Get the names of the tables in the alias and put them in the
appropriate list box
in the list
ListBox
Session
數據集中的數據維護主要包括數據記錄的修改
[
From:http://tw.wingwit.com/Article/program/Delphi/201311/25162.html