Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-19-2009, 06:48 AM   #2 (permalink)
lex
Registered Member
 
Join Date: Oct 2009
Location: Switzerland
Posts: 7
lex is on a distinguished road
Default

em, sorry out there i found the error.

At the position oi hydrate my data

char str = statement
var = nsstring utf8 str


self.description = (str) ? [NSString stringWithUTF8String:str] : @"";
NSLog(@"%@",self.description);
char *str2 = (char *)sqlite3_column_blob(hydrate_statement, 4);
self.wetter = (str2) ? [NSString stringWithUTF8String:str] : @"";
NSLog(@"%@",self.wetter);
char *str3 = (char *)sqlite3_column_blob(hydrate_statement, 5);
self.wasser = (str3) ? [NSString stringWithUTF8String:str] : @"";
NSLog(@"%@",self.wasser);


ive every three times checked str not str , str2, str3.

like ive said. im blind.

Sorry for that

but there is one thing , what wonders me.

Why i had to set my statement to nil that i can finalize my statement to close the DB ??? i have an another object with the same code in it but no text fileds. and there i dont need to set the statements to nil. ???????

Last edited by lex; 10-19-2009 at 06:57 AM.
lex is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,286
Threads: 93,960
Posts: 402,314
Top Poster: BrianSlick (7,972)
Welcome to our newest member, mirianml34
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:12 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.