🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1491

FYI - problem with stored procedure object parameters

#1491
From: Chris Boone
Date: Tue, 12 Oct 1999 00:00
11 lines
1154 bytes
FYI -

At design time, if I want to set the value of an input param that is a
string type equal to a number with leading zero's, the field
automatically treats the value like a number and not a string.  For
example, the value "00001124"  is automatically changed to "1124" before
being passed to the stored procedure.   The only way for me to run the
stored procedure correctly at design time is to set my field up as a
fixed character type on the back end and then pass in my parameter like
"00001124x" knowing that the "x" will be truncated on the back end while
the VCL will treat the value like a string on the front end.
Technical Details
Message-ID: <380373E8.91C66973@ghc.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,cf602c0c22df16b6,start
X-Google-Attributes: gidfcd2b,public
From: Chris Boone <boone.c@ghc.org>
Subject: FYI - problem with stored procedure object parameters
Date: 1999/10/12
Message-ID: <380373E8.91C66973@ghc.org>
X-Deja-AN: 535893365
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier