[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DEC ODBC Driver |
Notice: | DEC ODBC Driver V2.0 Now Available |
Moderator: | SQLSRV::MAVRIS |
|
Created: | Tue Dec 29 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1357 |
Total number of notes: | 4864 |
1303.0. "Stored procedures & Delphi variables" by ukvms3.uk.oracle.com::LWILES (Louise Wiles, UK Rdb support) Wed Feb 19 1997 12:25
Hi,
ODBC V2.10.
Rdb7
SQL/Services V7.0
A customer of mine has a problem with a stored procedure & Borland's
Delphi.
He gets the wrong values returned, and the value returned depends on
the datatype & how the variable is declared in Delphi.
If he is expecting a varchar back, and he declares it in Delphi as a
string output, the value will be NULL; if the variable is declared as a
string input/output, the value will be blank
If he is expecting an integer, and he declares the Delphi parameter as
an integer output, the value will be NULL.
If he's expecting an integer & a float back, and he declares the two as
input/output, their values appear to get swapped, ie the integer should
be getting 123, but gets 65; the float should be getting 65.4321, but
gets 123.
I got him to enable client logging, and that shows the right values.
Does this definitely mean that there's no problem with ODBC, & it's
Delphi which is screwing things up?
What else can I do to help him diagnose this problem?
Thanks,
Louise.
float should be getting 65.4321, but gets
T.R | Title | User | Personal Name | Date | Lines |
---|
1303.1 | | M5::JBALOGH | | Thu Feb 20 1997 21:43 | 3 |
| Sounds like a question for Borland...
John
|