Hi,
Is there a way of accessing field values when iterating through OracleDataReader result without referencing fields by their
index instead to use fieldname.
Delphi has
x := dataset1.FieldByName('Field1').AsString;
What's the equivalent?
Regards.
Accessing field values by fieldname using OracleDataReader?
Code: Select all
x = reader.GetString(reader.GetOrdinal("Field1"));