Hey Guys
I have just upgraded from V8,2 to 9.1 Express C and have hit a couple
of problems.
Here we go:
I have created an app in delphi, which connects with the following
connection string:
Provider=IBMDADB2.1;Password=****;Persist Security Info=True;User
ID=USERNAME;Data Source=SMARTMUN;Location=SERVER;Mode=ReadWrite
Connection works fine...
I have an ADO dataset on one of my forms, but when I try increment an
integer value, I get the error: "Insufficient base table information
for updating or refreshing"
My table has about 100 records, 2 columns(VarChar[Primary Key] and
integer).
SQL statement: select * from generator where listfield = 'Test'
In delphi:
dataset.edit;
dataset.fieldbyname('integervalue').asInteger :=
dataset.fieldbyname('integervalue').asInteger + 1;
dataset.post; **ERROR HERE*** - "Insufficient base table information
for updating or refreshing"
dataset has cursorLocation, client, CursorType = ctStatic
Does anybody have any idea how to help. The weird thing is, it worked
fine before we updated to V9,1?????????
Thank You
Ian Mackenzie 5 2645
Update:
I can run update and insert statements from SQL.
If I leave a ; off the end of the SQL statement I get a "CLI0115E:
Invalid cursor state error".
If I put it on the end, I get "Insufficient base table information"
which fires on the post command of my dataset...
I can run these in V8.2 but not V9.1... Could it be an ADO problem or
what. I am dumbstruck!!!!
Thanks
Ian Mackenzie wrote:
Hey Guys
I have just upgraded from V8,2 to 9.1 Express C and have hit a couple
of problems.
Here we go:
I have created an app in delphi, which connects with the following
connection string:
Provider=IBMDADB2.1;Password=****;Persist Security Info=True;User
ID=USERNAME;Data Source=SMARTMUN;Location=SERVER;Mode=ReadWrite
Connection works fine...
I have an ADO dataset on one of my forms, but when I try increment an
integer value, I get the error: "Insufficient base table information
for updating or refreshing"
My table has about 100 records, 2 columns(VarChar[Primary Key] and
integer).
SQL statement: select * from generator where listfield = 'Test'
In delphi:
dataset.edit;
dataset.fieldbyname('integervalue').asInteger :=
dataset.fieldbyname('integervalue').asInteger + 1;
dataset.post; **ERROR HERE*** - "Insufficient base table information
for updating or refreshing"
dataset has cursorLocation, client, CursorType = ctStatic
Does anybody have any idea how to help. The weird thing is, it worked
fine before we updated to V9,1?????????
Thank You
Ian Mackenzie
Ian Mackenzie wrote:
Update:
I can run update and insert statements from SQL.
If I leave a ; off the end of the SQL statement I get a "CLI0115E:
Invalid cursor state error".
Have you turned auto-commit off? Because if you don't your cursor may be
closed after the OPEN statement.
--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Thanks for the reply...
How would I do that, turn off auto-commit??
Thanks
Ian
Knut Stolze wrote:
Ian Mackenzie wrote:
Update:
I can run update and insert statements from SQL.
If I leave a ; off the end of the SQL statement I get a "CLI0115E:
Invalid cursor state error".
Have you turned auto-commit off? Because if you don't your cursor may be
closed after the OPEN statement.
--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Ian Mackenzie wrote:
How would I do that, turn off auto-commit??
How do you communicate with DB2? JDBC, SQLJ, CLI, embedded SQL, or
something else?
--
Knut Stolze
DB2 Information Integration Development
IBM Germany
I have reverted back to V8.2 and everthing seems to be working fine...
Thanks for the help.
Knut Stolze wrote:
Ian Mackenzie wrote:
How would I do that, turn off auto-commit??
How do you communicate with DB2? JDBC, SQLJ, CLI, embedded SQL, or
something else?
--
Knut Stolze
DB2 Information Integration Development
IBM Germany
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Eric |
last post by:
I upgraded my server from Redhat 7.3 to Redhat 9. Now all my programs
that send email through PHP do not work. Do I need to set something
else somewhere? I have Redhat 9, Apache 2.0.40 and PHP...
|
by: eric |
last post by:
I upgraded my server from Redhat 7.3 to Redhat 9. Now all my programs
that send email through PHP do not work. Do I need to set something
else somewhere? I have Redhat 9, Apache 2.0.40 and PHP...
|
by: steve |
last post by:
Hi,
I just upgraded my php but ran into a problem. Never seen this
before.
Somehow it seems I lost php file association. When I do a
http://localhost/something.php I get a prompt for dowload...
|
by: Gurpreet Sachdeva |
last post by:
I upgraded my python to 2.3 from 2.2 but Apache (V 2.0.4) is taking
old libraries for processing. I also made a soft link redirecting the
old files to new files but of no help... These error logs...
|
by: steve lord |
last post by:
Greetings,
Hope someone can HELP! I was running Access 2K - SP1 and on a whim
went to the MS Office update site and upgraded Office2K to everything
current, SP3 and whatever else it...
| |
by: Chris |
last post by:
I made my current web server (win2003 standard, with SQl Server 2K) a Domain
controller (w/DNS, and DHCP) and I'm now experincing issues.
The first was no access to the ASP Framework TEMP...
|
by: Pep |
last post by:
Our code used to compile happily under g++ 3.3.6 but now that we have
upgraded the compiler to version 3.4.6 our code breaks when linking
with this error message
undefined reference to...
|
by: Daedalus |
last post by:
I have recently upgraded from ACCESS 2000 to ACCESS 2007 (about time some might say)
I have several DB's that I use for storing various information, including accounting info for a club I help...
|
by: Hardy |
last post by:
Here a database with 100+T data considering being upgraded and I'm
evaluating the risk. Before that, I wanna know how many such kind of
very large scale DB2 databases have been upgraded? Any one...
|
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,...
|
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...
| |
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...
|
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...
|
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,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |