i’m relativity new to delphi and trying to write a complex search algorithm for my a2 computing coursework. i need to access my record field from a string variable.
e.g.
getfield(record,'name');
I have found an article that may solve my problem but i cant make sense of it. please can someone shorten it down to just what i need. Thanks.
http://theroadtodelphi.wordpress.com/2010/10/10/fun-with-delphi-rtti-dump-a-trttitype-definition/
A dead simple adaptation of LU RD‘s code from their comment. This compiles and works under Delphi XE2, but earlier versions should be fine, too.