"Ever Green" <[EMAIL PROTECTED]> writes:

> I dont think so!
>
> These functions would help to get the parameter names from a prepared
> statement. I want to retrieve data using column headings after a
> sqlite3_step.

The function I pointed you at takes the parameter name and returns its index.
I believe that index is what you'll want to pass to sqlite3_column_text16().

Derrell


> On 10/26/06, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>> "Ever Green" <[EMAIL PROTECTED]> writes:
>>
>> > I am using sqlite3_column_text16 to retrieve data.
>> >
>> > The problem is that sqlite3_column_text16 takes the column number as
>> > argument. This breaks my existing code if I insert new columns in the
>> > beginning of the column list that was specified in the SELECT statement.
>>
>> Does this solve your problem?
>>
>> http://sqlite.org/capi3ref.html#sqlite3_bind_parameter_index
>>
>> Derrell
>>
>>
>>
>> -----------------------------------------------------------------------------
>> To unsubscribe, send email to [EMAIL PROTECTED]
>>
>> -----------------------------------------------------------------------------
>>
>>

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to