<hr>
在delphi7有多种从Table组件数据的字段中取值的表达式有几种啊?
如:table1.Fields.value['字段']
---------------------------------
还有为什么我在delphi6中无法使用一下代码啊?
table1.Fieldbyname('字段').asinteger
难道不delphi7后来新添加的吗??
</hr>
在delphi7有多种从Table组件数据的字段中取值的表达式有几种啊?
如:table1.Fields.value['字段']
---------------------------------
还有为什么我在delphi6中无法使用一下代码啊?
table1.Fieldbyname('字段').asinteger
难道不delphi7后来新添加的吗??
</hr>
begin
FieldByName('CS_Code').AsString := Edit1.Text;
FieldByName('Apply_Date').AsDateTime := StrToDateTime(Edit2.Text);
FieldByName('Bill_Day').AsInteger := 17;
end;
我的意思是:在delphi7有多种从Table组件数据的字段中取值的表达式有几种啊?
如:table1.Fields.value['字段']能取出数据
table1['字段']能取出数据
table1.FieldsbyName('字段')同样也能取出数据
那到底有多少方式呢?