I recently downloaded the HXTT Access v4.0 driver and I am unable to run any reports that reference views.
These same reports worked correctly when using the JDBC-ODBC bridge.
Here is the error:
SQL Error Code 212992
SQLState 34000
Failed to find table v_iq_review_report in database rm
java.sql.SQLException: Failed to find table v_iq_review_report in database rm
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.access.av.a(Unknown Source)
at com.hxtt.sql.access.r.a(Unknown Source)
at com.hxtt.concurrent.x.a(Unknown Source)
at com.hxtt.sql.access.bb.a(Unknown Source)
at com.hxtt.sql.access.ae.a(Unknown Source)
at com.hxtt.sql.br.if(Unknown Source)
at com.hxtt.sql.dj.a(Unknown Source)
at com.hxtt.sql.ei.a(Unknown Source)
at com.hxtt.sql.dj.a(Unknown Source)
at com.hxtt.sql.ei.a(Unknown Source)
at com.hxtt.sql.dj.a(Unknown Source)
at com.hxtt.sql.ei.a(Unknown Source)
at com.hxtt.sql.dj.a(Unknown Source)
at com.hxtt.sql.dj.a(Unknown Source)
at com.hxtt.sql.br.a(Unknown Source)
at com.hxtt.sql.br.a(Unknown Source)
at com.hxtt.sql.ai.a(Unknown Source)
at com.hxtt.sql.ai.a(Unknown Source)
at com.hxtt.sql.ai.executeQuery(Unknown Source)
at com.imckesson.mmgpd.iqm.pro.JDBC.SQLQuery.executeQuery(SQLQuery.java:877)
Any help would be appreciated,
Richard
|
>I am unable to run any reports that reference views.
Please email us file sample, which maybe your view is using some unsupported syntax.
|
Here is one of the views:
CREATE VIEW v_iq_user_security
AS
SELECT
IIF (u.first_name IS NULL, u.last_name, u.last_name + ', ' + u.first_name) AS iam,
IIF (u.db_username IS NULL, ' ', u.db_username) AS db_username,
u.status_flag,
u.password_renew_date,
IIF (r.role_description IS NULL, 'N/A', r.role_description) AS role_description
FROM ((iq_user u
LEFT OUTER JOIN iq_user_role ur ON u.user_cid = ur.user_cid)
LEFT OUTER JOIN iq_role r ON ur.role_cid = r.role_cid)
WHERE u.user_cid <> '*NULL*';
|
Passed test with your v_iq_user_security sample. If possible, please email us a database sample.
|
Database sent to your support@hxtt.com email.
Thanks,
Richard
|
Supported now. Please download the latest package.
|