I am using the client lib function ct_bind() to bind
s_variable char[10]
to a result returned from a stored procedure. If the text that is
retrieved from the database is less than 10 characters, spaces are added
to the array.
example:
Stored procedure returns the value
"astring" - length 7
The array s_variable contains the value (after calling ct_fetch)
"astring " - length 10
When i bind the variable i specify CS_NULLTERM. Sorry if this is not
complete or perfect information, i have the code at work. Does anyone know
if this is normal ct-lib behavior? I can easily remove the extra spaces,
but i don't want to if i don't have to. thanks
-dave
--
David M. Rosner
Digital Demographics, Inc.