自
自我教育
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure dataset(var TableName:WideString;var CodeNumber,CodeName,Phoneticize:String);
begin
begin
TdmCodeManage.adotCode.TableName:=TableName;
TdmCodeManage.adotCode.Active:=True;
TfrmCodeManage.dbgCodeList.Columns[0].Title.Caption:=CodeNumber;
TfrmCodeManage.dbgCodeList.Columns[1].Title.Caption:=CodeName;
TfrmCodeManage.dbgCodeList.Columns[2].Title.Caption:=Phoneticize;
end;
end;
procedure TTfrmCodeManage.cbBasicCodeSelect(Sender: TObject);
begin
Case cbBasicCode.ItemIndex of
0:begin
//数据库设置
dataset('EnterpriseCode_TABlE','a','b','c');
end;
错误提示:type of actual and formal var paramers must be indentical
如何解决!谢了
begin
begin
TdmCodeManage.adotCode.TableName:=TableName;
TdmCodeManage.adotCode.Active:=True;
TfrmCodeManage.dbgCodeList.Columns[0].Title.Caption:=CodeNumber;
TfrmCodeManage.dbgCodeList.Columns[1].Title.Caption:=CodeName;
TfrmCodeManage.dbgCodeList.Columns[2].Title.Caption:=Phoneticize;
end;
end;
procedure TTfrmCodeManage.cbBasicCodeSelect(Sender: TObject);
begin
Case cbBasicCode.ItemIndex of
0:begin
//数据库设置
dataset('EnterpriseCode_TABlE','a','b','c');
end;
错误提示:type of actual and formal var paramers must be indentical
如何解决!谢了