🚀 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 Max Naud� Mon, 11 Feb 2002 10:31
Problems with empty string parameters
#330
Author: Max Naud�
Date: Mon, 11 Feb 2002 10:31
33 lines
1944 bytes
Hi,

I get the following whenever I try to send an empty string parameter to a
stored procedure using TClientDataSet and TSocketConnection (with the help
of Borland SocketServer) :

  ClientDataSet1->FetchParams();
  ClientDataSet1->Params->ParamByName("@aDescription")->AsString =
frmSearch->edtDescription->Text;
  ClientDataSet1->Execute();

When the Execute() is called the following exception is raised on the client
application EOleException with message "Parameter object is improperly
defined.  Inconsistent or incomplete information was provided".

All works fine as long as no empty parameters are sent.  Any idea for a
possible solution?

This is obviously occuring on the application server side
(TDataSetProvider). Why?


--
Max Naud�

Scope Technologies
Define Your Own Path To Mobile Solutions

~

This E-mail and any attached files transmitted with it are confidential and
the sole property of Scope Technologies Holdings Ltd. and are for the
exclusive use of the intended recipients
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