Implementing GetField method on Record class.