急!求助高手。delphi7程序出现问题

求助高手,我的delphi7程序出现问题?请帮忙解决,谢谢!!!当写到table1的events事件OnCalcFields的计算金额这个命令:table1ZGZ.VAL... 求助高手,我的delphi7程序出现问题?请帮忙解决,谢谢!!!
当写到table1的events事件OnCalcFields的计算金额这个命令:table1 ZGZ.VALUE:=table1 JBGZ.value+table1 FDGZ.value+table1 GLGZ.value+table1 CFBZ.value+table1 JTBZ.value;时,
总是出现这个错误:
[错误] Unit5.pas(81): Missing operator or semicolon
[错误] Unit5.pas(81): Missing operator or semicolon
[错误] Unit5.pas(81): Missing operator or semicolon
[错误] Unit5.pas(81): Missing operator or semicolon
[错误] Unit5.pas(81): Missing operator or semicolon
[错误] Unit5.pas(81): Missing operator or semicolon
[错误] Unit5.pas(64): Unsatisfied forward or external declaration:'TForm5.DataSource1DataChange'
[致命错误] Unit4.pas(32): Could not compile used unit 'Unit5.pas'
请问怎么修改呢?

程序如下:
unit Unit5;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DBCtrls, DB, DBTables, StdCtrls, Mask;

type
TForm5 = class(TForm)
Label1: TLabel;
Shape1: TShape;
Table1: TTable;
DataSource1: TDataSource;
DBNavigator1: TDBNavigator;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Label8: TLabel;
Label9: TLabel;
Label10: TLabel;
Label11: TLabel;
Label12: TLabel;
Label13: TLabel;
Label14: TLabel;
Label15: TLabel;
DBEdit1: TDBEdit;
DBEdit2: TDBEdit;
DBEdit3: TDBEdit;
DBEdit4: TDBEdit;
DBEdit5: TDBEdit;
DBEdit6: TDBEdit;
DBEdit7: TDBEdit;
DBEdit8: TDBEdit;
DBEdit9: TDBEdit;
DBEdit10: TDBEdit;
DBEdit11: TDBEdit;
DBEdit12: TDBEdit;
DBEdit13: TDBEdit;
DBEdit14: TDBEdit;
Shape2: TShape;
Shape3: TShape;
Shape4: TShape;
Shape5: TShape;
Shape6: TShape;
Table1BDEDesigner: TStringField;
Table1BDEDesigner2: TStringField;
Table1BDEDesigner3: TStringField;
Table1BDEDesigner4: TStringField;
Table1BDEDesigner5: TCurrencyField;
Table1BDEDesigner6: TCurrencyField;
Table1BDEDesigner7: TCurrencyField;
Table1BDEDesigner8: TCurrencyField;
Table1BDEDesigner9: TCurrencyField;
Table1BDEDesigner10: TCurrencyField;
Table1BDEDesigner11: TCurrencyField;
Table1BDEDesigner12: TCurrencyField;
Table1BDEDesigner13: TCurrencyField;
Table1BDEDesigner14: TCurrencyField;
procedure Table1CalcFields(DataSet: TDataSet);
procedure DataSource1DataChange(Sender: TObject; Field: TField);

private
{ Private declarations }
public
{ Public declarations }
end;

var
Form5: TForm5;

implementation

{$R *.dfm}

procedure TForm5.Table1CalcFields(DataSet: TDataSet);
begin
table1 ZGZ.VALUE:=table1 JBGZ.value+table1 FDGZ.value+table1 GLGZ.value+table1 CFBZ.value+table1 JTBZ.value;
end;
end.
该如何写该?请说的详细一点。谢谢!
设定的字段类型是¥
展开
 我来答
百度网友3ef58eb
2008-04-29
知道答主
回答量:4
采纳率:0%
帮助的人:0
展开全部
看看你写的字段类型,
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
中智咨询
2024-08-28 广告
在当今竞争激烈的商业环境中,企业需要不断提高自身的竞争力,以保持市场份额和增加利润。通过人效提升,企业可以更有效地利用有限的资源,提高生产力和效益,从而实现盈利目标。中智咨询提供全方位的组织人效评价与诊断、人效提升方案等数据和管理咨询服务。... 点击进入详情页
本回答由中智咨询提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式