H
huayf
Unregistered / Unconfirmed
GUEST, unregistred user!
我这样生成表格,但提示:
[Error] Unit1.pas(43): Not enough actual parameters
代码如下:
procedure TForm1.Button1Click(Sender: TObject);
var
tabelnames:string;
name:string;
sex:string;
address :string;
begin
tabelnames:=edit1.Text;
name:=edit2.Text ;
sex:=edit3.Text ;
address:=edit4.Text ;
create table tabelnames
(name varchar(10) not null,
sex char(8) not null ,
address varchar(12) not null
) ;
end;
[Error] Unit1.pas(43): Not enough actual parameters
代码如下:
procedure TForm1.Button1Click(Sender: TObject);
var
tabelnames:string;
name:string;
sex:string;
address :string;
begin
tabelnames:=edit1.Text;
name:=edit2.Text ;
sex:=edit3.Text ;
address:=edit4.Text ;
create table tabelnames
(name varchar(10) not null,
sex char(8) not null ,
address varchar(12) not null
) ;
end;