Page 1 of 1

av with field as variable

Posted: Fri 04 Feb 2011 08:51
by dartas
Hello,

I can't get value from field if I try to use variable:

something := VirtualTableField1.Value; //Here av occurring

with FieldByName all ok:

something := VirtualTable.FieldByName('Field1').Value; //Here all ok

This is bug? :)

Posted: Fri 04 Feb 2011 12:06
by AlexP
Hello,

I could not reproduce the problem.
Please send a complete small sample to alexp*devart*com to demonstrate it.
Also please specify the the exact version of your IDE.