begin
Screen
if Query
Query
Query
Query
Query
Screen
if Query
begin
{ If the query didn
displaying the form
if Query
raise Exception
Please try again
{ write a message to the browse form
if strField =
Panel
+
else
Panel
+
{ show the form }
ShowModal;
end;
end;
finally
frmQuery
end;
end;
end
unit RSLTFORM;
interface
uses
SysUtils
Forms
type
TResultForm = class(TForm)
DBGrid
DBNavigator: TDBNavigator;
Panel
DataSource
Panel
Panel
Query
SpeedButton
Panel
SpeedButton
procedure SpeedButton
procedure SpeedButton
end;
var
ResultForm: TResultForm;
implementation
{$R *
procedure TResultForm
begin
Close;
end;
procedure TResultForm
var
strText: string; { Variable to hold display text }
iCounter: Integer; { Loop counter variable }
begin
{ Build a string containing the query }
strText :=
for iCounter :=
strText := strText + Query
{ Display the query text }
MessageDlg(
mtInformation
end;
end
返回目錄
編輯推薦
Java程序設計培訓視頻教程
J
Visual C++音頻/視頻技術開發與實戰
Oracle索引技術
ORACLE
Java程序性能優化
C嵌入式編程設計模式
Android游戲開發實踐指南
[
From:http://tw.wingwit.com/Article/program/Delphi/201311/25143.html