Subject Is there an alternative to FieldByName?
Author pepmallorca
Hello:

In the program I'm doing, I'm using the syntax:

IB_Query1.FieldByName('FIELDx').AsString to reference the FIELDx

If you don't write correctly FIELDx, in compilation time seems it
works good, but in execution time you get an error, or you don't get
the good information.

Is there any other way to do it?

For example IB_Query1.Fields[0].AsString it's good, but I think
the 'FieldByName' is better to read it.

Thanks,