Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Window placement 17 74
Need VBS version of Excel date conversion 4 64
Excel object stays open 19 70
VBA: Personal Macro Retain/Highlight/Remove values in a selected column 4 24
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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

914 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

18 Experts available now in Live!

Get 1:1 Help Now