modify
Code:
// Name
NSString *strName = [[NSString alloc] initWithUTF8String:
(char *) sqlite3_column_text(statement,0)];
[myrecord setTitle:strName];
[strName release];
// Title
NSString *strTitle = [[NSString alloc] initWithUTF8String:
(char *) sqlite3_column_text(statement,1)];
[myrecord setImageFilename:strTitle];
[strTitle release];