Solved

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

Posted on 1998-12-05
2
373 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

734 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