Friends,
I am facing a very peculiar problem. Spent several hours already
From my app, via RDC I am executing the foloowing SQL statement on MySQL Server
SQL
As per the SQL, the Column Name of the 1st column should be "Estimate_No", but RDC is returning the Column name as "Transaction_ID" which is the original column name of the table.
I am getting the correct result when I checked the SQL result on HeidiSQL, Toad and one of my Windows application. Unfortunately, RDC is showing the column name differently, ie it is showing the original column name from the table ie "Transaction_ID" instead of the Column name "Estimate_No" as per the SQL.
The screen snapshots are attached here with.
Screen Snapshot of the SQL and result on HeidiSQL
Screen snapshot from B4A Log reqManager.PrintTable(EstimateRecSet)
Any hint where am I going wrong ?
The problem is only with this particular Column, the rest of the Column names are returned as expected.
Regards
Anser
I am facing a very peculiar problem. Spent several hours already
From my app, via RDC I am executing the foloowing SQL statement on MySQL Server
SQL
B4X:
SELECT Transaction_ID AS 'Estimate_No'
, DATE_FORMAT(Transaction_Date, '%d-%m-%Y') AS 'Estimate_Date'
, Fright_Amount AS 'Estimate_Amount'
, Fin_Year
, Transaction_Date
FROM transaction_master
As per the SQL, the Column Name of the 1st column should be "Estimate_No", but RDC is returning the Column name as "Transaction_ID" which is the original column name of the table.
I am getting the correct result when I checked the SQL result on HeidiSQL, Toad and one of my Windows application. Unfortunately, RDC is showing the column name differently, ie it is showing the original column name from the table ie "Transaction_ID" instead of the Column name "Estimate_No" as per the SQL.
The screen snapshots are attached here with.
Screen Snapshot of the SQL and result on HeidiSQL
Screen snapshot from B4A Log reqManager.PrintTable(EstimateRecSet)
Any hint where am I going wrong ?
The problem is only with this particular Column, the rest of the Column names are returned as expected.
Regards
Anser