Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

XE8 - SQLite

$
0
0

Hi,

since upgrading to XE8, none of the alias SQL commands are being recognised inthe TADO Query component. That means if I haveexplicity named a column (either when the column is a comptutation or uses a CASE statement for example), it no longer recognises the column name

For example

SELECT SUM(Price * Qty) as LineValue

is no longer accessible as FieldByName('LineValue).AsFloat, I have to use Fields[0].AsFloat

This means all of my projects need to be changed to use the column index position instead of the column name when accessing the fields in the Query component

Is there a fix for this?

Wesley


Viewing all articles
Browse latest Browse all 3212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>