Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Java +  MSAccess + access function

Thread view: 
Belgarath - 04 Apr 2007 15:45 GMT
Hello,

I need to make queries on Ms Access database (which is on a server)
from a java applet (which is on the same server).

The connection works and i can make some queries without problem :)

BUT some of these queries are made thanks to Access functions in VBA
and when i execute them an exception is thrown ... :

java.sql.SQLException: [Microsoft][Pilote ODBC Microsoft Access]
Fonction 'TempsOuvre' non définie dans l'expression.
   at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
   at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
   at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3111)
   at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:
338)
   at
sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:
253)

How can I execute these queries ? Is there any way to load these
functions ?

Thank you all

.
Arne Vajhøj - 05 Apr 2007 01:50 GMT
> I need to make queries on Ms Access database (which is on a server)
> from a java applet (which is on the same server).
[quoted text clipped - 17 lines]
> How can I execute these queries ? Is there any way to load these
> functions ?

You can not use VBA functions when accessing a Jet database via
ODBC.

You will need to move functionality from the database to
the application.

Arne

PS: The JDBC-ODBC bridge is not suited for production usage.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.