⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 findresult.pas

📁 某疗养院动脉硬化管理系统
💻 PAS
字号:
unit FindResult;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, BaseUnit, StdCtrls, Buttons, ADODB;

type
  TFrmFindResult = class(TForm1)
    GroupBox1: TGroupBox;
    GroupBox2: TGroupBox;
    BitBtn1: TBitBtn;
    Memo1: TMemo;
    Memo2: TMemo;
    procedure BitBtn1Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmFindResult: TFrmFindResult;

implementation

uses DataModule, PubFunction;

{$R *.dfm}

procedure TFrmFindResult.BitBtn1Click(Sender: TObject);
begin
  inherited;
  close;
end;

procedure TFrmFindResult.FormCreate(Sender: TObject);
var tmp:tadoquery;
begin
  inherited;
  tmp:=tadoquery.Create(nil);
  tmp.Connection:=DM.ADOCn;
  try
    ShowRecord(tmp,'*','ExamReport WHERE PatientID='+''''+PatientID+'''','id');
    Memo1.Lines.Text:=tmp.FieldByName('ExamDesc').AsString;
    Memo2.Lines.Text:=tmp.FieldByName('PicDesc').AsString;
  finally
    tmp.Close;
    tmp.Free;
  end;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -