Autor Beitrag
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Fr 07.03.03 15:44 
HAllo leute,

ich benutze seit jahren nur fieldbyname, bin jetzt aber auf fieldvalues gestoßen. Welche eigenschaft sollte man verwenden?
ist fieldbyname schneller, weil es nicht wie bei fieldvalues über variants gecastet werden muss?

Gruß
Ken
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Fr 07.03.03 15:56 
Du hast Deine Frage schon selbst beantwortet. FieldByName ist einfach schneller, weil ihne Typumwandlung.... bleib bei FieldbyName

Gruß