Article View: borland.public.cppbuilder.database.multi-tier
Article #912ADODataSet and poFetchBlobsOnDemand problem?
From: mikezim
Date: Mon, 08 Jan 2001 05:35
Date: Mon, 08 Jan 2001 05:35
16 lines
1759 bytes
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.
Technical Details
Message-ID:
<3a59513c_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!61.143.61.138Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,5c8995eb0691da3c,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-01-07 21:44:04 PST From: "mikezim" <mikezim@163.net> Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: ADODataSet and poFetchBlobsOnDemand problem? Date: Mon, 8 Jan 2001 13:35:57 +0800 Lines: 18 Organization: powerbridge X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 NNTP-Posting-Host: 61.143.61.138 Message-ID: <3a59513c_1@dnews> X-Trace: 7 Jan 2001 21:33:48 -0800, 61.143.61.138 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!61.143.61.138