🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages Started by Peter Dragun Thu, 12 Apr 2001 16:19
ado + sqlserver
#5558
Author: Peter Dragun
Date: Thu, 12 Apr 2001 16:19
26 lines
1923 bytes
Hello,

I am using CB5pro, with ADOExpress, I have installed the latest ADOExpress
patch for CB5.  I am also attaching to a MS SQL 2000 database, using MDAC
2.6.  .  I am using ADOQuery to work with the tables.  Anytime I filter a
table and the result ends up being an empty instance of the table a BOF EOF
exception is thrown.  I have read information about problems of this, and
apparently they have been fixed.  But the problem still comes up.  I never
had this sort of problem when I used MS SQL 7.0.  Is there solution?

As an example of what I am doing.  I have two tables:

TableA:         TableB:
ID                    ID        Id number-auto generated - key
Name               AID     references to ID in Table A
                        Description

I have to queries.

QueryA, and QueryB.  I have two DBGridsA, and B.  When ever DBGridAScroll
Event is triggered it will filter QueryB.  But if QueryB ends up being empty
the exception is raised.

Is there a better way to do this, is there a way to fix this?

-Peter
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads