ODBC issue -- Single value filling the arrays

ODBC Issue

Trying to read SQL Server Table . Used examples in documentation. Tried odbcGetArray and odbcGetArraySql
Results only filled the arrays with the same value. PNG shows results of sql server query of a view. Results were as expected.

Does anyone have any suggestions. Thanks in advance.

Arrays are timestamp synced by the ODBC plugin to currently selected symbol the same way as Foreign function does see http://www.amibroker.com/f?foreign
If currently selected symbol has more data than your SQL source, it will PAD the array so timestamps match. In other words, your SQL table must have precisely MATCHING TIMESTAMPS if you don't want to see duplicates.

Thanks for the quick reply.
J. McAdoo