- Jun 6, 2020
- 11,559
- 4,422
I have a code that reads a row from a table in the database.
Let's say we have 2 fields with timestamps Start, Finish.
In some cases Finish doesn't have a timestamp and this field has NULL as a value.
My code
B4X:
Line 19 has a problerm. As I said in some cases Finish has a value NULL in the database and when I read it string Finish gets value <nil> so when I try to add it to the string Schedule it crashes with the error message -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil...
Let's say we have 2 fields with timestamps Start, Finish.
In some cases Finish doesn't have a timestamp and this field has NULL as a value.
My code
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Line 19 has a problerm. As I said in some cases Finish has a value NULL in the database and when I read it string Finish gets value <nil> so when I try to add it to the string Schedule it crashes with the error message -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید