Solved

VB6/TDBGrid Problem---Answer wanted immediately!!

Posted on 1998-12-05
2
381 Views
Last Modified: 2013-12-25
I am using a TDBGrid Control bound to an ORADC Control.Now, there is a problem when I try to update anything but the first record in the grid and VB simply crashes!(Invalid page fault).In order to verify this I used the VBDataForm Wizard and sure enough the error trapped read "Insufficient base table information for updating or refreshing".I have no idea why this happened as this problem has surfaced only recently!I do know ADO has a problem using adUseClient cursors but if I do it in my code and use a adUseServer cursor it works fine but then the Set ADO.Recordset=res
where res is my created recordset doesnt work! How do I get around this problem??? Anyone???
0
Comment
Question by:rurajase
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
majed100598 earned 50 total points
ID: 1498008
Dont worry , i face the same problem
The only way to solve this by adding new code which is blank
and set it to be the first item

for example
the code table is
create table code_tb (code1 number(2),
code2 number(3),
name varchar2(30));

insert into code_tb values (1,-1,'sex data');
insert into code_tb values (1,0,'');
insert into code_tb values (1,1,'male');
insert into code_tb values (1,2,'female');
create view code_view as select code2,name from code_tb where code2<>-1;

if you face any problem contact me

0
 

Author Comment

by:rurajase
ID: 1498009
I am sorry but are u intending to say that I should modify the structure of the table in Oracle from which I read data into my ORADC data control??Well if that is the case then I'm sorry it's beyond the scope of my project!
Thanx anyways!
Anyone else???
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month4 days, 11 hours left to enroll

635 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