Is it possible to access an Oracle sequence by using ODBC in MS Access?
I have been able to link to the Oracle tables, but need autonumbering and I
am not able to change the column properties.
Thanks! 5 6089
No similar strructure exists in Access.
"berj" <be**@adelphia. net> wrote in message
news:F-*************** *****@adelphia. com... Is it possible to access an Oracle sequence by using ODBC in MS Access?
I have been able to link to the Oracle tables, but need autonumbering and
I am not able to change the column properties.
Thanks!
"berj" <be**@adelphia. net> wrote in message
news:F-*************** *****@adelphia. com... Is it possible to access an Oracle sequence by using ODBC in MS Access?
I have been able to link to the Oracle tables, but need autonumbering and
I am not able to change the column properties.
Thanks!
I'm a bit confused by your question. I access many Oracle sequences from
Access using ADO. I don't understand what column properties you wish to
change. I can provide sample code, if that is of use to you.
It would be of great help if you could provide the sample code.
Thanks!
"Randy Harris" <ra***@SpamFree .com> wrote in message
news:yv******** *********@newss vr17.news.prodi gy.com... "berj" <be**@adelphia. net> wrote in message news:F-*************** *****@adelphia. com... Is it possible to access an Oracle sequence by using ODBC in MS Access?
I have been able to link to the Oracle tables, but need autonumbering
and I am not able to change the column properties.
Thanks!
I'm a bit confused by your question. I access many Oracle sequences from Access using ADO. I don't understand what column properties you wish to change. I can provide sample code, if that is of use to you.
"berj" <be**@adelphia. net> wrote in message
news:jP******** ************@ad elphia.com... It would be of great help if you could provide the sample code.
Thanks!
Here a few variations:
I use a public function to check the connection to Oracle (cn), re-establish
it if necessary.
Connect_Oracle
' A "quick and dirty" way to get the next value:
DIM NewActivityID as String
NewActivityID = cn.Execute( _
"SELECT ESS.S_10_1_Acti vities_TBL.NEXT VAL FROM DUAL").GetStrin g
' Or, using a record set:
DIM NewEvent as Long
rs.Open "SELECT ESS.S_19_1_OnSi teDetails_TBL.N EXTVAL from Dual", cn
NewEvent = rs(0)
rs.Close
' A slight variation
DIM Nval as Long
SQL = "select ESS.Concurrence _Seq.NEXTVAL from dual"
rs.Open SQL, cn
Nval = rs(0)
rs.Close
Hope this helps,
Randy
"Randy Harris" <ra***@SpamFree .com> wrote in message news:yv******** *********@newss vr17.news.prodi gy.com... "berj" <be**@adelphia. net> wrote in message news:F-*************** *****@adelphia. com... Is it possible to access an Oracle sequence by using ODBC in MS
Access? I have been able to link to the Oracle tables, but need autonumbering and I am not able to change the column properties.
Thanks!
I'm a bit confused by your question. I access many Oracle sequences
from Access using ADO. I don't understand what column properties you wish to change. I can provide sample code, if that is of use to you.
Thanks for the code.
"Randy Harris" <ra***@SpamFree .com> wrote in message
news:J3******** *********@newss vr17.news.prodi gy.com... "berj" <be**@adelphia. net> wrote in message news:jP******** ************@ad elphia.com... It would be of great help if you could provide the sample code.
Thanks! Here a few variations:
I use a public function to check the connection to Oracle (cn),
re-establish it if necessary. Connect_Oracle
' A "quick and dirty" way to get the next value: DIM NewActivityID as String NewActivityID = cn.Execute( _ "SELECT ESS.S_10_1_Acti vities_TBL.NEXT VAL FROM DUAL").GetStrin g
' Or, using a record set: DIM NewEvent as Long rs.Open "SELECT ESS.S_19_1_OnSi teDetails_TBL.N EXTVAL from Dual", cn NewEvent = rs(0) rs.Close
' A slight variation DIM Nval as Long SQL = "select ESS.Concurrence _Seq.NEXTVAL from dual" rs.Open SQL, cn Nval = rs(0) rs.Close
Hope this helps, Randy
"Randy Harris" <ra***@SpamFree .com> wrote in message news:yv******** *********@newss vr17.news.prodi gy.com... "berj" <be**@adelphia. net> wrote in message news:F-*************** *****@adelphia. com... > Is it possible to access an Oracle sequence by using ODBC in MS Access? > > I have been able to link to the Oracle tables, but need
autonumbering and I > am not able to change the column properties. > > Thanks!
I'm a bit confused by your question. I access many Oracle sequences from Access using ADO. I don't understand what column properties you wish
to change. I can provide sample code, if that is of use to you.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan Ellis |
last post by:
Hi,
I've been down so many dead ends trying to get something working, so
I'm really hoping someone can help out.
I need to access an Oracle database running on a Windows server from
Python running on Linux. I've tried building DCOracle2, but it seems
that the 'oracle-installclient-basic' thing I downloaded from the
Oracle site doesn't contain enough. I've tried various other
approaches, such as mxODBC/iODBC, but without much luck. I'm...
|
by: Kong Li |
last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset
(9.2.0.5) fixed the handle count leak problem. The problem is in
Oracle client component.
Thanks.
Kong
-----
From: Kong Li (likong@email.com)
|
by: majk |
last post by:
hey!
Im looking for a db tutoral which covers accessing a Microsoft SQL database
on windows. I will be using VC++ if it matters. NO details just a basic
introduction!
Oracle DB access using C++ is also of interest!
Thanks!
|
by: Roger Redford |
last post by:
Dear Experts,
I'm attempting to marry a system to an Oracle 817 datbase.
Oracle is my specialty, the back end mainly, so I don't
know much about java or javascript.
The system uses javascript to make ODBC calls to the db.
The particular system I'm working with, will not work
with an Oracle stored procedure I'm told. However, it
|
by: mad |
last post by:
I am new here and don't know if someone has encountered and discussed
this problem before. I appreciate any help to this problem.
I am building a new Oracle database (8.1.7) and Win 2000/IIS 5 for
development. After I moved ASP pages over from another server (also
Oracle 8.1.7 and Win 2000/IIS 5), the error occurred when recordset's
MoveNext is called. Here is the code:
<% Set cmdTemp = Server.CreateObject("ADODB.Command")
Set rsProd...
| |
by: Andrea M. Segovia |
last post by:
Hello,
I am a newbie to Oracle databases....
We have a visualization front-end tool connected to an Oracle back-end
database on a Tru64 UNIX server. We also have clients with MS access
databases who would like to share their data using this visualization
tool but do not want to import their data into the Oracle server
back-end.
|
by: Crazy Cat |
last post by:
Hi all,
I am having trouble getting linked Oracle 9 server in MS SQL Server
2005 Express to work properly. My machine is running Windows XP.
The Microsoft and Oracle OLE DB Providers have problems dealing with
Oracle's Numeric Data Type, so I decided to use Microsoft's OLE DB for
ODBC Provider and an Oracle ODBC source. When using the Microsoft ODBC
for Oracle Driver in my ODBC source I have inconsistent behavior.
Sometimes my queries...
|
by: Bill |
last post by:
We have a corporate database that was upgraded to Oracle 10 and I can
no longer link to or query a table that contains a Time Stamp field
with Access 2003. I've tried the Microsoft ODBC driver and the Oracle
10 and Oracle 8 Driver.
Any ideas as to how to access this data?
|
by: Vinod Sadanandan |
last post by:
All,
Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features .
Precompilers: Additional Array INSERT and SELECT Syntax Support by
Pro*C/C++ and Pro*COBOL
Precompilers: Dynamic SQL Statement Caching in Pro*C/C++ and Pro*COBOL
Precompilers: Fix Execution Plan in Pro*C/C++ and Pro*COBOL
Precompilers: Flexible B Area Length...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |