Form builder connectivity with Access
hi
how i can connect form 6i to Access. i know its a weird one but i need it. plz guide me. is there any step by step guide.
thnx
Try following this steps:
1. Create an access database e.g. c:\db1.mdb
2. Open the access database and create a table with some data. Save the file.
3. Create on ODBC connection:
execute odbcad32.exe. Add...,
select driver for microsoft access,
give it a name of your choice e.g. oraacc
select the file you created in step 1
OK
4. Open the form builder. File, connect
username: anything
password: anything
database: odbc:oraacc
5. Launch data block wizard.
6. Put your table name and the rest is the same as for an oracle database
Similar Messages
-
Report builder connectivity with Access
hi
i want to connect report builder to MS Access. i have to generate some reports. it urgent plz help me.if there is any guide then give me link.
thnxHi,
you can use the JDBC-ODBC datasource.
Here some line out of note 207536.1
You have to first create a ODBC Data Source .. and then it can be used in JDBC Query ... The format of connection string to connect to ODBC Data Source <username>/<password>@odbcDataSourceString
For details look here: http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_jdbcpds.htm#i1007095
Regards
Rainer -
Form Builder connecting to Oracle database
I recently dowloaded the Personal Edition of the Oracle 10g database.
Having done that, I installed a copy of Oracle Forms 6i which I had.
When I used to connect to the database from the Forms Builder, I only entered username "scott" and password "tiger".
Now, it seems I also need to enter the database name to connect.
I tried "Oracle10g", which I think is the instance name, but I get an error about not being able to "resolve service name."
Can someone help me with this?
Thank you.Although not related to your problem, connecting Forms 6i to a 10g database isn't really a good idea. Although it is supported by Oracle, you are likely to have problems. Remember that Forms/Reports 6i is very old (and no longer supported) and was based on the Oracle 8.0.6 architecture. Additionally, be sure you are using Forms 6.0.8.22 (Patch 13) or newer if you plan to connect to 10.x.
That said, your problem is not related to the versions you are using. It is caused by the fact that the database is considered "remote" relative to Forms. This is true even though both products are likely installed on the same machine. By having them installed in different Oracle Homes (which you must), the database might as well be on another machine.
Short answer, you need to add the database information to the tnsnames.ora file found in the Forms Oracle Home. More specifically, it can be found in:
%ORACLE_HOME%\NET80\ADMIN
The other alternative is to set TNS_ADMIN in the system environment (not the Windows Registry). This will point to the database's tnsnames.ora and will allow all installed products to access the same file. -
XML Form Builder-Problem with the save button
Hi All,
I created a project in XML Form Builder.
I included a button "Save" in my project.
All is working fine when i preview my project in XML Form Builder.
The problem is when i run my project with iview.
I suppose the form to save my input and then to be closed but
unfortunately it did not.
I don't know where the problem is as in the XML Form Builder everything seems ok.
Thank you for your help!
Regards,
AriHi Carsten,
Thank you for your help.
There is no javascript error in the form.
In the status bar when i have my mouse over the button i can see "javaxcript:HrefSubmit('save',"");"
And when push the button "Transering Data..."
I created the form in the Xml Form Builder and in preview there the project works.
What do you mean "Did you access your Form using the KM Admin Explorer via a comman?"
How can i have acess there?
I appreciate you help!
Regards,
Ari -
Form Builder Connectivity from other database
Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
Also how do we connect with other databases like SQL Server, MS Access, and so on?
Thanks in advance.
Edited by: user10876897 on Apr 13, 2009 10:08 PMcreate an odbc for oracle and connect form to any database through odbc using
userid/passwd and database as odbc:dsnname -
Forms Builder Starting With 500 Internal Server Error
Hi,
I'm having a problem while starting Forms Builder from portal. It gives 500 : internal server error.
When I start the check tool it stops in step "XML Forms Builder Jar Download" saying /irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar is unsigned.
When I open java console with trace level 5, the log is as follows :
<i>
Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
Registered modality listener
Invoking JS method: document
Invoking JS method: URL
Referencing classloader: sun.plugin.ClassLoaderInfo@1abcd9b, refcount=1
Loading applet ...
Initializing applet ...
Starting applet ...
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
20.Tem.2007 02:58:02 - (WARN) (Client) com.sapportals.wcm.app.xfbuilder: could not load User settings: Cannot find resource C:\Documents and Settings\Administrator\.xfbuilder\usersettings.properties
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings_tr.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings_tr.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings_tr_TR.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings_tr_TR.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings_tr_TR.properties with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/ProjectSettings_tr_TR.properties with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings_tr.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings_tr.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings_tr_TR.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings_tr_TR.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings_tr_TR.properties with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/GlobalSettings_tr_TR.properties with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar_tr.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar_tr.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar_tr_TR.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar_tr_TR.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar_tr_TR.properties with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/toolbar_tr_TR.properties with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu_tr.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu_tr.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu_tr_TR.class with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu_tr_TR.class with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu_tr_TR.properties with no proxy
Connecting http://myserver/irj/go/km/docs/etc/xmlforms/com/sapportals/wcm/app/xfbuilder/client/config/contextmenu_tr_TR.properties with cookie "j_authscheme=basicauthentication; saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
20.Tem.2007 02:58:04 - (WARN) (Client) Property Manager: Could not load dataTypes
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with no proxy
Connecting http://myserver:80/irj/servlet/prt/portal/prtroot/com.sap.km.cm.xfbuildernull with cookie "saplb_*=(J2EE19173900)19173950; PortalAlias=portal; JSESSIONID=(J2EE19173900)ID1681084750DB11657007504696465989End; SAPWP_active=1"
Modality pushed
Modality popped
20.Tem.2007 02:58:05 - (WARN) (Client) com.sapportals.wcm.app.xfbuilder.client.data.DataObjectFactory: Could not load dataTypes
Invoking JS method: execScript
Invoking JS method: evalIntermediateValueToReturn
</i>
Does anyone have an idea about how to start Forms Builder correctly?
Regards,
Barış
Message was edited by:
Baris BuyuktanirHi,
In KM Content goto /etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar and download the file to local files system.
Now open the jar file with winrar/winzip and open META-INF folder, there you should find <b>SAPPortalsCertificate.SF</b> and <b>SAPPortalsCertificate.RSA</b> files.
If these files exist in META-INF folder, then you jar is signed and if not unsigned. For security reasons classloader does not allow to open unsigned jars as some other jars in classpath are signed.
So if these files not present in META-INF folder, then replace the corrupt km.appl.xmlforms.xfbuilder_core.jar file with file that works on some other server.
Greetings,
Praveen Gudapati -
XML Form Builder-How to access data saved from a form?
Hi All,
I created a form in XML Form Builder. This form include checkboxes and input fields.
Also i include a Save button.
I used this form in a iView.
Many users will access this iView and save their input data.
So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
So for every user's Save is created a XML form .
The question is,
how can i collect all these data for each created XML form, so as i can process them?
Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
I am new in EP .
Regards
AriHello Avinash,
You can directly use query in form personalization Conditions like
select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
set the error message.
Regards,
Saurabh -
Problem creating a hierarchical tree in forms builder[issue with the query]
Hi all,
I have 2 tables.
box (box_id, box_name)
item(item_id, item_name, box_id)
In a box there are several items.
I want to create a hierachical tree to display items that are present in each box.
LIKE:
|---BOX1
| |----ITEM 1
| |----ITEM 2
|
|---BOX2
| |----ITEM 1
| |----ITEM 2
Currently i am trying this query:
SELECT -1 state, box_name, 'icon' icon, box_id val
from box b, item i;
I don't know what value to put for level, i don't know how to code the 'connect by prior' part.
Could you please advise me?
Michaël.
PS. Then i will eventually use this query in forms builder.Hi MichaelR
i get the FRM - 47321 error in forms builder ..
Hence In order to populate a tree, the Select order must retrieve 5 columns:
STATUS, LEVEL, LABEL, ICON, VALUE u should notice this orders in ur Query this will solve the error and pls notice that the...
My advice is to use the On Line help in ur forms builder to help u in this ...
Initial state : number
Node tree depth : number
Label for the node : varchar2
Icon for the node : varchar2
Data : varchar2This should be in WHEN-NEW-FORM-INSTANCE-trigger in order to populate ur tree...
another thing why don't u think of building ur tree as i did here in the following example...Pls have a look here ....
Hope this helps...
Regards,
Amatu Allah. -
Problem in form builder connecting to db
Im very new to oracle technology, I have just installed oracle appdeveloper 9i and im trying to use form builder. When I try to log into my database which is also under a 9i personal database, it gives me the error "ORA-12154 TNS:could not resolve service name". I tryed to search for something on oracles site and also the forums but didnt find anything. I had problems installing developer suite but was solved in another form. I had to install it under oracle homes in c:\oracle. my database is installed also under oracle homes c:\oracle\ora92. I checked and made sure that all the services listed under services on windows xp service manager were running, and I still got the error. Please help me, I need this to work for class.
Thanks in advanceI tried to change the MW (which is the name of my database, to ora92 but then i couldnt connect to sql+, I did change the host to local host though.
this is what my file currently reads:
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
MW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = )
(SERVICE_NAME = ORA92)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO) -
Hello all:
I 'd like to do Form Builder when I click CONNECT , I cannot. But If I use the same user/pw and DB in ISQLPLUS , I can do.
Pls advise I have have to set config on edit> preference about
Application server,
web server
or not
and what should be.
Thx in advance.This is what I found
1. C:\DevSuiteHome_2\NETWORK\ADMIN\tnsnames
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = R6TLN001.piyathana.corp)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
2. C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames
(ADDRESS = (PROTOCOL = TCP)(HOST = R6TLN001.piyathana.corp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
3.C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
4.C:\DevSuiteHome_2\NETWORK\ADMIN\sqlnet
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
5. result select * from global_name
ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
6. my isqlplus http://r6tln001.piyathana.corp:5560/isqlplus
Pls help again
Thx in advance -
I have installed Oracle 8i Personal Edition for Windows 98, is working OK using scott/tiger as User Name/Password. Now I installed Oracle Forms Developer/Services 6i Release 2 for Windows 98/NT/... and I can't get the connection, This is the error: ORA-12154:TNS: could not resolve service name . I would be grateful if somebody explain me step by step how to solve this problem or let me know where the documentation related with this topic is.
Thank you.hi,
This problem is due to net easy configuration.
go thru that option and name one service name and the specified oracle service name that will append the tnsnames.ora in <developer home>/net80/admin/
or you can use this at the end of tnsnames.ors just paste code (below) and replace service_name with ur desired string and oracle_instance_name with ur oracle instance name and also check that listner is running or not. if not then go to the <oracle home>/ora81/bin/lsnctl.exe and type start then, it will connect with developer
service_name =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.201)(PORT = 1521))
(CONNECT_DATA = (SID = oracle_instance_name))
enjoy
Tehzeeb Ahmed -
Hi, I trying to connect with a db created with Access, let say "Datab.mdb".
I used the following script:
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //which seams to work fine
}catch(Exception e){
System.out.println(e);
return;
try{
conn= DriverManager.getConnection("jdbc:odbc:Datab","","");
statem = conn.createStatement();
}catch(Exception e){
System.out.println(e); //it enters to the exception!!
return;
The message is that it doesn't find the database, I tried to put the file "Datab.mdb" almost everywhere, but it still doesn't find it, I also tried
conn= DriverManager.getConnection("jdbc:odbc:Datab.mdb","","");
but still no success.
Please, can anyone help me.
Thanksif you have doubts how to do it, you can find the steps you need to follow here:
http://developer.java.sun.com/developer/onlineTraining/Database/JDBCShortCourse/jdbc/exercises/Setup/ -
Can't Connect with Access 2013
Hi, there!
Am reworking a successful Access 2003 VBA project into Access 2013 VBA, which I am brand new to. I have encountered a problem with Access 2013 when attempting to connect to a table in order to create a recordset. The Access 2003 connection
string does not work in Access 2013. To confirm this, I dug out an old Access 2003 VBA beginner's manual and typed a sample program directly from the textbook. The sample code fails to successfully open a connection in Access
2013 but, when I then copy and paste the program into Access 2003, it works fine.
Online documentation useful for rudimentary programming activities being as scant as ever, am deeply appreciative of any real-time help rendered.
Thanks,
MikeThanks for responding, Bruce.
The table I'm connecting to is local to the current database project. It's all standalone. In other words, I launch Access 2013, I create a table, then I connect to the table. Really pretty straightforward stuff.
Here's the code template I use to do it in Access 2003:
Dim cnMyConnection As ADODB.Connection
Dim rsMyRecordset As ADODB.Recordset
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Set cnMyConnection = CurrentProject.AccessConnection
Set rsMyRecordset = New ADODB.Recordset
With rsMyRecordset
.ActiveConnection = cnMyConnection
.CursorType = adOpenForwardOnly
.LockType = adLockReadOnly
.CursorLocation = adUseClient
.Open "tblMyTable"
End With
etc.
This works in Access 2003. The recordset is created and then things can move forward. But Access 2013 has all kinds of problems with it, beginning with improper use of the keyword "New." It seems to demand a whole new syntax.
Thanks for any insight you can provide, Bruce!
-- Mike -
Remote Connection with ACCESS ??
Dear Friends,
Is it possible to connect MS-ACCESS file remotely(using IP Address) AND WITHOUT USING DSN?? if yes HOW ??
Thanks in advance.
Ketanhi Ketan,
It is possible. you can use jdbc drivers like that
of aveConnect which enables you to connect to access databases
without dsn. they provide a server component to be run
on the machine hosting the database, and the client driver component
can connect to that.. and access the Access database.
there may be other drivers but I have experience only with aveConnect,
u can do a search at the driver database of Sun or
see this link
http://atinav.com/products/aveconnect/MSAccess.htm
cheers
-Jer -
XML Forms Builder - problem with checkbox
Hi,
I have created many checkboxes in XML Forms Builder and if I want to create a new document based on this "Form" I have still checked one of checkboxes. I would like to have all empty checkboxes becasue user should check the appropriate checkboxes.
Do you know how to resolve this problem?
Thaks for help!
Regards,
Andrzej TabaraHi,
is it always the same checkbox that is already filled in? Is this ckeckbox based on a metadata-definition?
If yes: You could maybe have a look at the metadata-definition. Is there maybe a default-value defined?
Kind reagrds
Karin
Maybe you are looking for
-
Is it right to mix sizes of memory modules in a mac mini 2012? for example 2Gb 8Gb?
Is it right to mix sizes of memory modules in a mac mini 2012? for example 2Gb 8Gb?
-
Merge Mail Account for duplicate account Mailman
Hi, The situation I have is that a user listed only once in Workgroup Manager is listed twice in Mailman. I'm not really sure how this happened, but one account is linked to a newly created mail account. However most of the mail is in the other mail
-
Got an online number a while ago but now we noticed another one already got the same number by his mobile provider? How is this possible?
-
I got a light room 5 and once i put in the serial number its asking for an older version serial number. I had downloaded a 30 day trail few months back , but I dont hinki it had a serial number since it was only a trail version. I got it directly f
-
Vector Space Model implementation
Hi, Does anybody know where I can find a java implementation of "vector space model"? Or simply a java program to extract keywords from an HTML page? Actually I don't know if this is the write forum to pose this question! Edited by: Marziye on May 28