📄 searchsupplierid.pas
字号:
unit SearchSupplierID;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
BaseSearch, Db, DBTables, StdCtrls, Buttons, Grids, DBGrids;
type
TfmSearchSupplierID = class(TfmBaseSearch)
qyTempSupplierID: TStringField;
qyTempSupplierAttribName: TStringField;
private
{ Private declarations }
public
{ Public declarations }
procedure OpenDB; override;
end;
function MySearchSupplierID(SupplierID: String): String; //琩高ㄑ莱坝絪腹
var
fmSearchSupplierID: TfmSearchSupplierID;
implementation
{$R *.DFM}
{ TfmBaseSearchTemplete }
function MySearchSupplierID(SupplierID: String): String; //琩高ㄑ莱坝絪腹
begin
try
fmSearchSupplierID := TfmSearchSupplierID.Create(Application);
if fmSearchSupplierID.ShowModal = mrOK then
Result := fmSearchSupplierID.qyTemp.FieldByName('SupplierID').AsString
else
Result := '';
finally
fmSearchSupplierID.Free;
end;
end;
procedure TfmSearchSupplierID.OpenDB;
begin
OrderBySQL := 'SupplierID'; //箇砞
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -