Solved

Error when updating Sybase ASA 8.0.1 db

Posted on 2002-07-11
13
159 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

785 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