请大家帮忙啊
Function uf_zmm_Lable(par_NCMP, par_PINO:string): Boolean; Function Print_Copy(HCUNO: String; SETLabel: TCunoLabel): integer; If(cnLily_Carton_Label In CUNOlabel) Then
Begin
moShow.Lines.Add('Print Lily Carton Label Start.');
If uf_zmm_Lable(NCMP,PINO,Print_Copy(cds21_9.FieldByName('HCUNO').AsString,cnLily_Carton_Label)) Then
moShow.Lines.Add('Print Lily Carton Label Success.')
Else
moShow.Lines.Add('Print Lily Carton Label Fail.');
moShow.Lines.Add('Print Lily Carton Label End.');
End;这句报错: If uf_zmm_Lable(NCMP,PINO,Print_Copy(cds21_9.FieldByName('HCUNO').AsString,cnLily_Carton_Label)) Then提示:Too many actual parameters
Function uf_zmm_Lable(par_NCMP, par_PINO:string): Boolean; Function Print_Copy(HCUNO: String; SETLabel: TCunoLabel): integer; If(cnLily_Carton_Label In CUNOlabel) Then
Begin
moShow.Lines.Add('Print Lily Carton Label Start.');
If uf_zmm_Lable(NCMP,PINO,Print_Copy(cds21_9.FieldByName('HCUNO').AsString,cnLily_Carton_Label)) Then
moShow.Lines.Add('Print Lily Carton Label Success.')
Else
moShow.Lines.Add('Print Lily Carton Label Fail.');
moShow.Lines.Add('Print Lily Carton Label End.');
End;这句报错: If uf_zmm_Lable(NCMP,PINO,Print_Copy(cds21_9.FieldByName('HCUNO').AsString,cnLily_Carton_Label)) Then提示:Too many actual parameters
解决方案 »
- 请教"IdFTP.put上传文件过大提示没有找到数据"如何解决
- delphi对xml操作
- 新手求助,大家帮帮帮(3)
- 数据库修改还没有来得及同步?
- 请教:我通过Adoquery1.NextRecordset(aRow)的方法取得了存储过程返回的多个数据集,但我想针对其中的某一个数据集进行编辑,为什么找不
- 请教:简单到家的小问题(可是偶不会):如何在两个表中的字段建立联合索引
- 谁给我详细讲一下ADO 最好有例子,谢谢~
- 如何让打印机每次打几行内容,不换纸,再打,不换纸。。。一直不换。原来的问题没有得到解决。
- 调用应用服务器上的方法。
- 把整型数字转为字符型的函数是什么?
- 急!DELPHI函數問題
- delphi 为什么TStrings 点后不显示属性什么的?
你这个函数声明是两个参数
uf_zmm_Lable(NCMP,PINO,Print_Copy(cds21_9.FieldByName('HCUNO').AsString,cnLily_Carton_Label))
你使用的时候是三个参数,去掉一个参数