Mapping JTree to an Access Database

First of all, I am very new to using JTree.
Second, I was able to create a JTree using QueryDataSet from an Access database (using JBuilder).
The database table has the following structure:
NodeID, ParentNodeID and Name.
NodeID is unique.
the problem I am facing is how to bind or map each node created to the corresponding NodeID, while I am displaying the Name field as the userObject of the node?
I want to know this in order to retrieve information from the database regarding the selected node, and can only do that with the NodeID since there are duplicate names for the "Name" field.
If anyone has an answer to this question please do not hesitate to reply or send me an email.
Regards,
Charbel
[email protected]

Build a class to put all the db values:
class MyNode{
int NodeID;
int parentID;
int NodeID;
String Name;
public MyNode(int NodeID,int parentID,String Name){
this.NodeID = NodeID;
this.parentID = parentID;
this.Name = Name;
public String toString(){
return Name; // this is for the three to show the Name variable
I guess you will previously sort ascending the access table on the parentID field, in order to easily build the tree.
When you read from the database, create MyNode instances and fill in the values, and set in teh TreeNode the user object like:
MyTreeNode mtn = new MyTreeNode(new MyNode(20,3,"OneNode"));
or
mtn.setUserObject(new MyNode(20,3,"OneNode"));
From this structure, you will easily build any popups or actions responding to click events on the tree branches, by simply requesting the user object of the node, and reading its properties.
Hope it helped,
Carlos.

Similar Messages

  • Access Database (.mdb) on Windows Server 2012 R2 Essentials

    Hi guys, thanks for your time!
    SCENARIO:
    - Windows Server 2012 R2 Essentials
    - Windows 7 Ultimate Clients (3 clients)
    - VB6 application on clients using a MS Database (.mdb) hosted on the server.  
    - Clients access the database (.mdb) via a mapped network drive (K:).
    PROBLEM:
    - Microsoft Database (.mdb) on server gets corrupted frequently.
    - Clients don't "flush their changes" back to the database: database was not updated.
    WORKAROUND:
    - Database was moved from the server to one of the Windows 7 clients.
    - Application is running OK.
    CONFIGURATION:
    - Permissions are correct: network and NTFS.
    - No faulty network hardware: switch, cabling, NICs.
    - Computers and Server hardware is new.
    - UPS are used everywhere.
    SOME LINKS:
    SMB 3.0 
    - Opportunistic Locking and Read Caching on Microsoft Windows Networks.
    - Windows 7 cannot
    open the shared MS Access database if it's opened by another user
    - Initializing the
    Microsoft Jet 4.0 Database Engine Driver
    - Moved to
    Server 2012 getting Access Database Corruption
    Oplocks
    - Configuring
    opportunistic locking in Windows
    - Understanding
    offline files
    - How to
    enable and disable SMBv1, SMBv2, and SMBv3
    - Is it possible to
    monitor and log actual queries against an Access MDB?
    Now, server is useless if it is not hosting our database. Any ideas, please? Do I need to diagnose using Wireshark? Or using Sysinternals Process Monitor? I think that is a waste of time. 
    Thank you! 

    Thanks for your reply.
    Software is from a 3rd party provider. It currently supports concurrency. It was deployed on Windows XP. SQL Server would be a nice upgrade, however that is
    not an option.
    Something has changed with newer versions of Windows. That is what I am going to study in a lab I prepared with a real server and some clients.
    File-sharing databases (Microsoft JET databases) are very old technology even before I was a college student. However, I have been very busy researching this technology.
    It was made for multi-user environments. It is highly tied to file sharing services from Windows: SMB protocol.
    Windows XP, Vista, 7 and 8 use different versions of this protocol. I think that is the root of the problem. With old technology, application was running fine.
    With new technology, application is troublesome. I will check several things: JET drivers vs. ACE drivers, SMB tweaks, etc.
    UPDATE:
    Basically, there are 4 general answers to this issue:
    1) Migrate your Access Database to SQL Server Express (or another RDBMS engine).
    2) @Server: disable SMB 2.0/3.0 protocol stack by powershell command. Network speed decreases.
    3) @Clients: disable client redirector caches by using regedit.
    4) @Server: disable the leasing on the file server. 
    5) @Server: tuning Broadcom NIC parameters.
    References:
    - https://technet.microsoft.com/en-us/library/ff686200(WS.10).aspx
    - https://msdn.microsoft.com/en-us/library/windows/desktop/aa365433(v=vs.85).aspx
    - http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Q_28482197.html
    - http://tipsntricks.sherr.co.uk/stop-smb-corrupting-files/
    - http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html
    - https://social.technet.microsoft.com/forums/windowsserver/en-US/67baa9fd-5eaf-438e-9cc4-dc1a531b9e19/disabling-oplocksmb2-vs-fileinfocachelifetime
    - https://social.technet.microsoft.com/Forums/windowsserver/en-US/7336d31b-6c24-468a-9c47-750244ae3a8c/moved-to-server-2012-getting-access-database-corruption
    - https://social.technet.microsoft.com/Forums/en-US/e9567167-22db-4b8c-9f96-a08b97d507f9/server-2012-r2-file-server-stops-responding-to-smb-connections
    - http://support2.microsoft.com/kb/2957623
    - http://support2.microsoft.com/kb/2899011
    - http://support2.microsoft.com/kb/2955164
    - https://social.technet.microsoft.com/Forums/en-US/7bd0aa5b-eb95-40a8-a56d-c6013273665c/extremely-slow-smb-network-speed-server-2012-r2?forum=winserver8gen

  • MS Project - can you merge from a spreadsheet/access database based on task names?

    I'm wondering if it's possible to import data on certain tasks from a spreadsheet or access database. I know you can import tasks and append them, but I was hoping to:
    - Match a task name with the task name on the spreadsheet/access database
    - Update that task in MS project with information/fields in the spreadsheet/access database
    Can this be done? Thanks.

    Hi,
    In regarding the issue, my understanding is that you want to use Excel spreadsheet as database for the Project.
    I recommend you develop an import map that includes the key fields. Please refer to the link and do it step by step:
    http://www.techrepublic.com/blog/tech-decision-maker/importing-a-vendors-excel-schedule-into-microsoft-project/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If I misunderstanding something, please let me know and upload some sample about the Excel spreadsheet.
    Regards,
    George Zhao
    TechNet Community Support

  • CR4E plug-in   ERROR CONNECTIVITY  MS ACCESS DATABASE :data connection that isn't fully supported by this version of the Crystal Reports designer

    Post Author: arfetgas
    CA Forum: Data Connectivity and SQL
    Hi im trying to view a simple report , this report have some parameters from a MS Access database.I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc... and the problem its  like this,  I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.I have this errors  : at same time 1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.  2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)    at org.eclipse.jface.window.Window.open(Window.java:796)    at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)    at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)    at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)    at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)    at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)    at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)    at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)    at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)    at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)    at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)    at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)    at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)!ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Error loading file prueba.rpt!STACK 0java.lang.Exception: Error loading file prueba.rpt    at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)    at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)    at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)    at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in Provider:.... Business Objects!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in name:.... Crystal Reports Java Development Tools!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Version:.... 1.0.4.v1094!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse  Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO  any req  -
    >   [email protected] thanks to people  that can help ...           

    Post Author: arfetgas
    CA Forum: Data Connectivity and SQL
    Hi im trying to view a simple report , this report have some parameters from a MS Access database.I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc... and the problem its  like this,  I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.I have this errors  : at same time 1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.  2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)    at org.eclipse.jface.window.Window.open(Window.java:796)    at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)    at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)    at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)    at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)    at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)    at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)    at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)    at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)    at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)    at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)    at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)    at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)!ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Error loading file prueba.rpt!STACK 0java.lang.Exception: Error loading file prueba.rpt    at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)    at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)    at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)    at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in Provider:.... Business Objects!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in name:.... Crystal Reports Java Development Tools!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Version:.... 1.0.4.v1094!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse  Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO  any req  -
    >   [email protected] thanks to people  that can help ...           

  • CR4E plug-in ERROR CONNECTIVITY MS ACCESS DATABASE :data connection that isn't fully supported by this version of the Crystal R

    Hi im trying to view a simple report , this report have some parameters from a MS Access database.
    I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc...
    and the problem its  like this,
    I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.
    I have this errors  : at same time
    1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.
    2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it
        at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)
        at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)
        at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)
        at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)
        at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)
        at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
        at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
        at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
        at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)
        at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)
        at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)
        at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)
        at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)
        at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)
        at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)
        at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)
        at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)
        at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)
        at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)
        at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
        at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)
        at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)
        at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
        at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)
        at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)
        at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)
        at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
        at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)
        at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)
        at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)
        at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
        at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
        at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)
        at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)
        at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)
        at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
        at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    !ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Error loading file prueba.rpt
    !STACK 0
    java.lang.Exception: Error loading file prueba.rpt
        at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)
        at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)
        at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)
        at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)
        at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)
        at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)
        at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Plug-in Provider:.... Business Objects
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Plug-in name:.... Crystal Reports Java Development Tools
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Version:.... 1.0.4.v1094
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse
    Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in
    09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO
    any req  -
    >   [email protected]
    thanks to people  that can help ...

    There are some other solutions possible.
    1. Get another driver. The only one known is java only so it wont crash. But is not not free.
    2. Use a proxy driver. That means that another app actually does the database work. If it crashes you just start it again (which you can do in your main code.) That way it won't take down your server. There are commercial jdbc drivers that claim MS Access but are are really just proxy implementations as an option in this area.

  • Access Database Opens in Read Only for Users

    I just moved an Access Database to a new server (from Server 2003 to Server 2012). From the server, using Office 2010, I can open the database without issue but, if a user try's to open the same database from either a shortcut or mapped with Office 2010,
    they get the message that the database is Read Only. Did I miss a step in moving the database to the new server? Thanks

    Hi,
    Did your user get the error message "You are trying to open a read-only database..."? If it was, please try the following method:
    On the desktop, double-click My Computer.
    Locate the Microsoft Access database that you moved.
    Right-click the database name, and then click Properties.
    In the Properties dialog box, clear the Read-only check box under
    Attributes.
    Click OK to apply the change.
    Open your database in Access.
    Resource:
    http://support.microsoft.com/kb/324666/en-us (It also applies to Access 2010)
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Conversion problems with Memo field in Access database

    I have the latest version of Migration Workbench and the Access 2000 plug-in.
    I am using an ODBC driver, and the SQL conversion requirements for converting
    to a native driver seem too time and labor intensive to be feasable.
    My problem is that I have some "Memo" columns in my Access database containing
    over 200,000 rows that I need converted to Oracle. This is something I'm going
    to need to do over-and-over again for different Access databases.
    I gave up on mapping the Access "Memo" datatypes to Oracle "Clob" datatypes. It
    was either taking forever or taking WAY too long.
    Then I tried mapping the Access "Memo" datatypes to "Varchar2(4000)" and although
    it completed it took longer than my customer will like (think 1/2 an hour just for
    all the rows of one memo column in one table).
    Finally I tried going into the original Access database and converting the "Memo"
    column into a "Text" column. It wouldn't work, I kept getting the error:
    =====
    Microsoft Access can't change the data type.
    There isn't enough disk space or memory.
    =====
    even though I had over 10GB of free disk space and only 1/3 of my memory was being
    used. I assume this is a memory-max limitation in Access 2000.
    Any suggestions for speeding the conversion? Could I stagger using Migration workbench
    to create the tables. . .then use SQL*Loader to load the data. . .then use Migration
    workbench again to put in the idexes, etc? Would this be faster even if it worked?
    Thanks,
    Aaron Chawla

    I have the latest version of Migration Workbench and the Access 2000 plug-in.
    I am using an ODBC driver, and the SQL conversion requirements for converting
    to a native driver seem too time and labor intensive to be feasable.
    My problem is that I have some "Memo" columns in my Access database containing
    over 200,000 rows that I need converted to Oracle. This is something I'm going
    to need to do over-and-over again for different Access databases.
    I gave up on mapping the Access "Memo" datatypes to Oracle "Clob" datatypes. It
    was either taking forever or taking WAY too long.
    Then I tried mapping the Access "Memo" datatypes to "Varchar2(4000)" and although
    it completed it took longer than my customer will like (think 1/2 an hour just for
    all the rows of one memo column in one table).
    Finally I tried going into the original Access database and converting the "Memo"
    column into a "Text" column. It wouldn't work, I kept getting the error:
    =====
    Microsoft Access can't change the data type.
    There isn't enough disk space or memory.
    =====
    even though I had over 10GB of free disk space and only 1/3 of my memory was being
    used. I assume this is a memory-max limitation in Access 2000.
    Any suggestions for speeding the conversion? Could I stagger using Migration workbench
    to create the tables. . .then use SQL*Loader to load the data. . .then use Migration
    workbench again to put in the idexes, etc? Would this be faster even if it worked?
    Thanks,
    Aaron Chawla

  • Connecting to an Microsoft Access database

    Can I create an HTML page or equivalent from which I can connect to an Access database that is on my computer or a drive connected to the computer WITHOUT having my computer run a server application? I have read the online help and not sure if I can do it and what has to be done.
    The goal is to create a Web page that is an interface to an Access database that resides on a shared drive that anyone in the company can map to. I realize that the Web page connects using an ODBC driver, but does the user's computer also need to be running some kind of server application?
    If it can be done without a server application, how do I set up the testing server, etc.
    Thanks,
    Van

    No, you will need an application server like ASP, PHP or ColdFusion to display dynamic data from a database.
    Ken Ford
    Adobe Community Expert - Dreamweaver/ColdFusion
    Adobe Certified Expert - Dreamweaver CS4
    Adobe Certified Expert - ColdFusion 8
    Fordwebs, LLC
    http://www.fordwebs.com
    http://www.cfnoob.com

  • How to set sourceURL for MS Access database in other computer?

    How to set sourceURL for MS Access database in other computer?
    getConnection("jdbc:odbc://www.micrsoft.com:9999/msaccess");
    How do you determine the port for the MS Access?
    Thank you very much.

    How to set sourceURL for MS Access database in other computer?You don't.
    How do you determine the port for the MS Access?You don't.
    Databases like Oracle and MS SQL Server have 'server' software which runs on a server computer. Requests talk to that server software. MS Access does not have a server, so there is nothing to talk to.
    You either must use a DSN or create you own server. For the DSN each client must have a mapped driver to the computer with the database. For your own server search the Sun site for JDBC drivers or use RmiJdbc (http://www.objectweb.org/)

  • Business Objects Enterprise and publishing Access Database reports

    Hi,
    I have searched the forum but cannot find anything to help me so any help would be appreciated
    I have an access database on a shared drive that I want to publish a report for.
    On the BO server I created a system DSN to the database through a mapped drive.
    I use the publishing wizard to configure the report but I am getting the following error when I try and run the report:
    Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: -1023 ]
    I have also gone in on the Business View Manager and created the connection and it connects successfully.
    I have successfully published Sybase and SQL reports but I just cannot get the connection to the Access Database to work.
    Thanks in advance,
    Sinead

    Try using UNC to point to the database.  In other words,
    servername\sharepoint.
    Also, make sure the service account of the server processing the report (I don't think you mentioned what type of report it was) is running under a domain user account that has access to the share (rather than the default local system).  You can set this in the CCM.

  • Connect to a remote MS Access database using RmiJdbc

    Hello,
    I want to access a remote MS Access database from oracle stored procedures.
    Does anyone know how i can load the RmiJdbc driver using the loadjava command or with any other way.
    Because when i try to load RmiJdbc.zip using the loadjava command I am getting the error:
    ORA-29533:attempt to overwrite class or resource string while defining or compiling scott.TestClient
    this error is occured for multiple files...
    I don't know how to delete this classes.
    Because this error occured and the first time i tried to load Rmijdbc driver.
    and when i use the dropjava command to drop it,and then load it again the same error occures.
    Can anyone help me how to load this driver?
    Please answer because i need it as soon as possible.
    Thanks

    Hi,
    try this.
    String s = "UPDATE AGENT SET afname='test',alname='u',city='d',AGENT.[percent]=1 WHERE aid=23";
    -------->AGENT.[percent]

  • How to Protect your Custom Access Database Product - so that you can sell & distribute it?

    I'm looking for an update on this topic as I have been away from Access for a couple of years and have not kept up with the latest.
    Hopefully they have made it easier to design, develop, sell and distribute custom database solutions. So here goes...
    Question A:
    If one develops a custom database product with Access 2013 what is the current best way to...
    1 - Prevent it from being (too easily) copied
    2 - Prevent it from being (too easily) reverse engineered
    3 - Prividing a time limited free demo copy?
    4 - Providing a demo copy with limited functionality... like limiting the number of records in an important table, or whatever?
    5 - What have I left out of this list that should be considered for protecting ones investment in the development of the product? (other than copyright, of course.)
    Question B:
    What is the latest on being able to migrate an Access database to the cloud?
    1 - Entirely online
    2 - Part in the cloud and part on the users machine
    3 - And what about all that VBA code - is there no way to make that work in the cloud and/or on a web server... or does it all have to be tossed and all the coding redone?
    Question C:
    What are other alternatives solutions for selling your custom database application while protecting all your investment in developing it?
    1 - Write the front end in C++  (so that it is fully compiled) and the back end in ASP with MS SQL Server? (or alternative server side solutions)
    2 - Write the whole thing as a server side solution with browser interface?
    3 - Or what?
    Thanks for any help.

    Hi Fran_3,
    >>What is the latest on being able to migrate an Access database to the cloud?
    In my option, the Access Web app would be a better choise.
    Regards,
    Tony
    Help each other

  • "Connection is closed" closed error while using MS Access database

    We are using MS Access database in our project. Recently the database was upgraded to 2000.
    After upgrading the database, I get the folowing error when getAutoCommit() is called on a connection -
    java.sql.SQLException: Connection is closed
         at sun.jdbc.odbc.JdbcOdbcConnection.validateConnection(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcConnection.getAutoCommit(Unknown Source)
    The connection is not closed explicity before getAutoCommit() is called, only the statement is closed.
    This error is sporadic and occurs under load scenario only (when a lot of connections are open). Once the error occurs, all the database calls fail then onwards. The error was not occuring before the database was upgraded.
    I suspect the jbdc-odbc driver. The driver might not be compatible with Access2000 database. Under load scenario, it might be closing connections automatically.
    Has anybody faced similar problem before? Where can I find the compatible jdbc-odbc driver? And how to ensure that it is jdbc-odbc driver problem only?
    The database verison - MS Access 2000
    Java version - 1.3.1_01

    can i just point out that there is no support for transactions in Access so I wonder why you are calling autoCommit methods at all...

  • Access of ms access database and displaying it on applets

    I had made the connection thru JDBC and was able to access data from MS Access database when i had written java application program. But when i created one applet and created instance of that class which was making connection to the database thru JDBC and called one method which was returning one value from the database , i was not able to get on the applet(in the text field) . It gave me some security exception saying acces is not allowed.
    Please give me the reason for this and send me reply back on this email id
    [email protected]

    Welcome to the club. There is an on-going discussion from which I too would like to learn this. Try http://forum.java.sun.com/thread.jsp?forum=31&thread=174953.
    Best Wishes.

  • Not getting the records from Access database

    Hi All,
    Iam creating a universe based on Access database. I am able to view the data from all the tables except one table. When i try to view the data there is one error message "Syntax error in from clause, State: 37000". Everything is ok at database side. What does this error means?
    Please help me on this.
    Thanks.

    Hi BOCP,
           Thanks for your reply. I have resolved my issue. Actually my issue was, I have a table "Date" in universe which was created in Access database, when i tried to view the Date Table values in Universe i was getting that Syntax error in From clause message. I came to know that Date is a keyword or predefined table in WebI & it wont accept that word as a user defined Table. So i renamed that table in Access and Universe. Now my issue was solved.
    Thanks,
    Swati.

Maybe you are looking for

  • During down payment of asset po  can any body solute the problem

    the following message is coming during down payment of asset po **purchase document allocated to asset** Purchase document is allocated to asset Message no. F5378 Diagnosis The asset number   assigned in the purchase document is different from the as

  • How can I validate my warranty with a refurbished iphone?

    On August 28th I visited Miami and I went to the Apple Store to replace my Iphone 4 broken out of warranty with a Refurbished Iphone. The problem is that the refurbished Iphone replacement never worked! I tried to verify my coverage status but it is

  • Inbound idocs segment fields

    Hi, Iam new to idocs and a functional consultant. I need to know whenever we receive the inbound idocs and if i see the segments of the inbound idoc, do the fields which i see in the segments are the sap fields.????/ for instance if the inbound idoc

  • Missing custom field in quality system....

    hi gurus, I created a custom field using EEWB tool in CRM oppurutunity transaction at item level. I moved the transport request from DEV to Quality. But i cannot view the new custom field in quality. Can any one suggest me how to achieve this or Do i

  • No audio upon subsequent burns unless I restart program?!

    HI there, I am trying to burn 30 photo slideshows I created on iMovie. The show is about 13 minutes long and includes four music tracks and a small bit of video at the end. I burned my first disc with no problems, but when I pop in the next discs to