Solved

Error when updating Sybase ASA 8.0.1 db

Posted on 2002-07-11
13
157 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 69

Expert Comment

by:Éric Moreau
ID: 7147882
Does your command includes the Primary key into the retreived fields?
0
 

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 69

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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 69

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 69

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 69

Expert Comment

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now