Re: [Sqlrelay-discussion] the inputBindString posts the last value into the destination table repea
Brought to you by:
mused
|
From: Sha Li J. <lig...@sh...> - 2007-10-03 00:15:11
|
I assigned the values to a array before executing the executeQuery
function, it works ,thank you very much.
Alfred J Fazio 写道:
> Hello,
>
> This is happening because the inputBindString function associates
> a pointer to a string with a variable, but does not use that pointer
> until the executeQuery function is called. In your code, you
> associate all of your query variables to a single pointer (body).
> When the executeQuery function is called, the pointer body points to
> the last string you assigned it ("zxvf"). Try using different
> pointers for each query variable.
>
> Good luck
>
|