Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT ACCESS
Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 00:59:25
Hi,

We're using the latest Access 4.0 drivers and we have problems with queries that contain 'calculated' fields. As soon as we use them, the access driver will not return and fields in the query.
Please let me know if you wish to have the test accdb that I'm using.

Regards,
Marc
Re:Queries not showing fields in Access40 JDBC
HXTT Support
2010-10-18 01:14:14
Please send you test sample.
Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 01:19:57
Mail send to support@hxtt.com
Re:Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 02:03:38
can you confirm you've received the mail with attachment?
Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
HXTT Support
2010-10-18 02:24:47
Checked. It prompted:
SELECT EPS.*,Projects.*,[FD]-[SD] AS Duration,IIf([SD]<[DD],([DD]-[sD])/([FD]-[SD]),0) AS DurPCT FROM EPS INNER JOIN Projects ON EPS.EPSID=Projects.EPSid;
Two date type can't do / operation

Re:Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 02:27:09
But in MS Access it does allow me to do so.
Any workarounds for this?
Re:Re:Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
HXTT Support
2010-10-18 03:08:48
Supported. The latest package files will be available after about 2 hours.
Re:Re:Re:Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 04:26:43
Thanks !! Great support.
I'll check the download section for an update on 18-10-2010.
Re:Re:Re:Re:Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 11:40:06
For the sample above the new drivers now work perfectly, but my colleague has a query:

SELECT PlVal.ActID, PlVal.ItemID, PlVal.ActStart, SetPeriode.Werkdgn, DateAdd("d",[SetPeriode]![Werkdgn],[PlVal]![DDate]) AS DDenPer, PlVal.OD, (([PlVal]![OD]*([SetPrj]![Delay]/100)))/8 AS ODenDy, SetPrj_1.Delay, DateAdd("d",[ODenDy],[PlVal]![ActSD]) AS SDenDy, [SDenDy]<[DDenPer] AS Expr1, PlVal.DDate, PlVal.PID, SetPrj.DDate, DateAdd("d",[ODenDy],[PlVal]![ActFD]) AS EF, PlVal.ActFD, PlVal.ActSD
FROM ((PlVal LEFT JOIN SetPrj ON PlVal.PID=SetPrj.PID) LEFT JOIN SetPeriode ON PlVal.Periode=SetPeriode.Periode) LEFT JOIN SetPrj AS SetPrj_1 ON PlVal.PID=SetPrj_1.PID
WHERE (((PlVal.ItemID) Is Not Null) AND ((PlVal.ActStart) Is Null));

which still doens't work. Could the ! sign be a problem here? Or the (maybe) internal function DateAdd from Access?
It's an accdb database too and creating a query.
Re:Re:Re:Re:Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
HXTT Support
2010-10-19 05:42:07
>Could the ! sign be a problem here?
Yeah. But HXTT Access can detect and convert it.

>the (maybe) internal function DateAdd from Access?
That's the answer. v4.0.032 supports function DATEADD(INTERVAL, expr, date), DATEDIFF (INTERVAL, date1, date2), DATEPART (INTERVAL, date). The latest package will be available after about 2 hours.
Re:Re:Re:Re:Re:Re:Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-19 23:14:23
thanks. Works like a charm!

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap