🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by mikezim Mon, 08 Jan 2001 05:35
ADODataSet and poFetchBlobsOnDemand problem?
#912
Author: mikezim
Date: Mon, 08 Jan 2001 05:35
16 lines
1759 bytes
Just now, I test three tires programming with MTS and Midas in nt4.
Use AdoDataSet in AppServer to access Ms SqlServer 7, and there's a table
include Blob field in client side.
When I change properity [poFetchBlobsOnDemand] to true in DataProvider, and
use fetchblob() in client side. It give me such prompt when running:
"Project XXX raised exception class EOleException with messgage
'unable to find a record. No key specified'. proces stoped.
Use Step or Run to continue."
If I change ADODataset to Ttable with ODBC as connect way, and hook
DataProvider to that table, it will works fine. Why?
\\Comment: the user that create table is different from the \\ user that
access the table.
\\  So I set ResolveToDataSet to true, and table name is dbo.TableName.
\\ if set them back to original value, it will work, but we have to use
these function.
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