Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 00:59:25.0
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.0
Please send you test sample.
Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 01:19:57.0
Mail send to support@hxtt.com
Re:Re:Re:Queries not showing fields in Access40 JDBC
MarcB
2010-10-18 02:03:38.0
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.0
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.0
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.0
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.0
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.0
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.0
>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.0
thanks. Works like a charm!

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap