[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Error when updating Sybase ASA 8.0.1 db

Posted on 2002-07-11
13
Medium Priority
?
168 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
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!

 

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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

872 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