Issue 127109 - External database connection returns no data (ODBC)
Summary: External database connection returns no data (ODBC)
Status: UNCONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: open-import (show other issues)
Version: 4.1.2
Hardware: Mac OS X 10.11
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 07:07 UTC by jlbrown
Modified: 2016-09-13 07:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Query with no data returned (84.71 KB, image/png)
2016-09-13 07:07 UTC, jlbrown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jlbrown 2016-09-13 07:07:34 UTC
Created attachment 85670 [details]
Query with no data returned

Have an ODBC connection to a 4D database. Connection works fine in that it can see all the tables.


But the query returns no data.

The SQL is:

SELECT `HInvoice_Lines`.`Transaction_LK` AS `Transaction_LK`, `HInvoice_Lines`.`Inventory_LK` AS `Inventory_LK`, `HInvoice_Lines`.`Amount` AS `Amount`, `HInvoice_Lines`.`Multi` AS `Multi`, `HInvoice_Lines`.`Client_LK` AS `Client_LK`, `HInvoice_Lines`.`Type` AS `Type`, `HInvoice_Lines`.`Period` AS `Period`, `HInvoice_Lines`.`Client_Class` AS `Client_Class`, `HInvoice_Lines`.`IN_Class` AS `IN_Class`, `HInvoice_Lines`.`Rep_ID` AS `Rep_ID`, `HInvoice_Lines`.`Client_Area` AS `Client_Area` FROM `HInvoice_Lines` `HInvoice_Lines` WHERE ( `HInvoice_Lines`.`Period` > 24 AND `HInvoice_Lines`.`Period` < 100 AND `HInvoice_Lines`.`Rep_ID` = 'ISB' )

But even simple query like this does not return anything:

SELECT `Clients`.`ID` AS `ID`, `Clients`.`State` AS `State` FROM `Clients` `Clients` WHERE ( `Clients`.`ID` = 'APF' )