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 

Passing Blob field from AppSrvr to Client by OleVariant

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





PostPosted: Wed Jul 16, 2003 7:50 am    Post subject: Passing Blob field from AppSrvr to Client by OleVariant Reply with quote




How can I pass the Blob field (BlobField.AsString) to
client by using CDS.DataRequest and Provider's OnDataRequest on
AppSrvr.

Clent
var Data: OleVariant;
Data := CDS.Request(..);
// the length of result string is wrong
// Cutted at first #0

AppSrvr
ProviderOnDataRequest(..): OleVariant;
// read somthing from SQLDataSet having BLOB field
Result := SQLdsBLOB_FIELD.AsString;
// Length is OK

thanks
Sener
Back to top
vavan
Guest





PostPosted: Wed Jul 16, 2003 8:05 am    Post subject: Re: Passing Blob field from AppSrvr to Client by OleVariant Reply with quote



On 16 Jul 2003 00:50:27 -0700, "sener" <sdemiral (AT) netscape (DOT) net> wrote:

Quote:
How can I pass the Blob field (BlobField.AsString) to
client by using CDS.DataRequest and Provider's OnDataRequest on
AppSrvr.

what about passing BlobField.AsVariant?

--
Vladimir Ulchenko aka vavan

Back to top
sener
Guest





PostPosted: Wed Jul 16, 2003 8:14 am    Post subject: Re: Passing Blob field from AppSrvr to Client by OleVariant Reply with quote




it is also not working..

vavan <vavan (AT) santel (DOT) ru> wrote:
Quote:
On 16 Jul 2003 00:50:27 -0700, "sener" <sdemiral (AT) netscape (DOT) net> wrote:

How can I pass the Blob field (BlobField.AsString) to
client by using CDS.DataRequest and Provider's OnDataRequest on
AppSrvr.

what about passing BlobField.AsVariant?

--
Vladimir Ulchenko aka vavan


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.