Ado and Client Datasets
From: Rick (rick_at_tariffnet.com)
Date: 01/19/05
- Next message: Del M: "Re: Using BatchOptimistic locking with Master/Details"
- Previous message: Eduardo A. Salgado: "Re: Client/Server Architecture vs. MiddleTier"
- Next in thread: Rick: "Re: Ado and Client Datasets"
- Reply: Rick: "Re: Ado and Client Datasets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 Jan 2005 14:57:17 -0500
Platform: Delphi 2005 Pro (with patch), Win2k Server (fully patched).
Hello,
I have just been getting my hands around the Delphi ADO objects. I have a
little test program and have been having trouble getting it to return data
using a ClientDataSet.
Details (dbGo where it matters):
AdoConnection --> AdoDataSet --> DatasetProvider --> ClientDataSet -->
DataSource --> DBGrid
Everything is linked and seems to work great with a standard SQL Statement
(eg Select ... from ...). However when I call a stored procedure that
returns records, the grid is blank, actually it has field names but no
records. I know its not the stored procedure, because 19 records are
returned to the AdoDataset, but never seem to make it the rest of the way
down stream. if I set the AdoDataset to load the Datasource directly, the
grid is filled perfectly.
What am I missing?
The DataSetProvider.DataSet is set to AdoDataSet1. No storedprocedure is
working, even a simple select statement... please help.
thanks
Rick
- Next message: Del M: "Re: Using BatchOptimistic locking with Master/Details"
- Previous message: Eduardo A. Salgado: "Re: Client/Server Architecture vs. MiddleTier"
- Next in thread: Rick: "Re: Ado and Client Datasets"
- Reply: Rick: "Re: Ado and Client Datasets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|