Solved

Error when updating Sybase ASA 8.0.1 db

Posted on 2002-07-11
13
161 Views
Last Modified: 2010-05-02
I get the following error when I try to update a SQL AnyWHere Studio 8.0.1 table:
'Insufficient base table information for updating or refreshing.'

I installed the Data components 2.7, but the bug persist.

Anyone can help?
0
Comment
Question by:jeanfrancoismelancon
13 Comments
 
LVL 20

Expert Comment

by:hes
ID: 7147160
Are you using the Data Environment, If so try changing the command object from Table to SQL Query under Source of Data in the Properties dialog box for the command object.
0
 

Author Comment

by:jeanfrancoismelancon
ID: 7147177
Yes, I'm using the Data Environment... I tried changing to SQL Query and I tried to change the cursor position to server side... but neither worked.

Can anyone make it work with Sybase ASA 8.0?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7147882
Does your command includes the Primary key into the retreived fields?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jeanfrancoismelancon
ID: 7149188
What I do is: In my form I have only 3-4 fields that I am linking to the Data Environment via DataSource, DataMember and DataField. And on my command (button_Click) I do:

myDataEnvironment.rscmdCustomer.Update

And then I get the error message.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7149869
and do you have the primary key in your command?
0
 

Author Comment

by:jeanfrancoismelancon
ID: 7149918
Yes, all of my fields are in my command object (cmdCustomer)
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7149967
and does your table has a primary key?
0
 

Author Comment

by:jeanfrancoismelancon
ID: 7150077
Yes it as a primary key
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7150126
What is the query in your command?
0
 

Author Comment

by:jeanfrancoismelancon
ID: 7150159
SELECT * FROM DBA.tblCustomer
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7150208
Have you made the test using a simple ADODC or a simple recordset?
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7348077
This question appears to be abandoned. A question regarding it will be left in the CleanUp
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 7373315
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question