Subject | data access by FieldByName or [] |
---|---|
Author | stanw1950 |
Post date | 2002-01-11T20:48:16Z |
I have seen at least two different ways to access data -
String := Query['FieldName'];
String := Query.FieldByName('FieldName').AsString;
Are these equivalent? Is one better than the other? Thanks.
String := Query['FieldName'];
String := Query.FieldByName('FieldName').AsString;
Are these equivalent? Is one better than the other? Thanks.