BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Midas bug?!?!?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Beto Neto
Guest





PostPosted: Mon May 22, 2006 8:14 pm    Post subject: Midas bug?!?!? Reply with quote



At Server Application:

TSQLConnect + TSQLDataSet + TDataSetProvider

Provider.Options has opFetchBlobsOnDemand, opAllowCommandText,
opRetainServerOrder
Provider.UpdateMode as upWhereAll


At Client Application:

TSocketConnect + TClientDataSet

ClientDataSet.CommandText :=
'select p.field1, p.field2 from sp_something(param1, param2) p order by
p.field1';

Now I open it!
Field2 is a TBLOBFIELD. When I invoke Field2.AsString an error occours.
Provider are trying request the data from the blobfield, but I'm already
using opFetchBlobsOnDemand at provider options.

I debug the TSQLDataSet.PSExecuteStatment and I trace an unkown select
stament like this
'select "field1", "field2" from "sp_something" where "field1" = ? and
"field2" = ?'

The provider is trying to request the blob data with another select, and it
is considering the "sp_something" as a TABLE, but it is a StoredProcedure
with params...

What can I do to resolve this "bug"?!
Can I change anything to fix it?

Thank you, a lot!!!

Bye bye!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.