Mike Johnston <mkejohnston-/[EMAIL PROTECTED]> wrote:
While using sqlite3_step(), is there a clean easy way to retrieve the data by column name instead of by ordinal? I know I can convert an ordinal to a column name but not the other way around.
You can enumerate all columns, retrieve the name of each, and find the one you want. You only need to do this once after the statement is prepared: after that, you can use the ordinal you've found.
Igor Tandetnik
----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------