This topic is READ ONLY
import-bot (20212) [Avatar] Offline
#1
[Originally posted by mckan]

Hi, Tom,

I find one little bugs in the code (line 80 of df_process_product_form for
u_demodb in CH 8 ),
the original code is 'lds.DeleteRow(1)', but I always met error, so I think it
should be 'lds.DeleteRow(0)'.
Just inform the readers and you, and where can I get the mistake list of the
book in web?

regards,

Peter
import-bot (20212) [Avatar] Offline
#2
Re: Where can I get the mistake list of this book ?
[Originally posted by ezad1]

> Hi, Tom,
>
> I find one little bugs in the code (line 80 of df_process_product_form for
> u_demodb in CH 8 ),
> the original code is 'lds.DeleteRow(1)', but I always met error, so I think it
> should be 'lds.DeleteRow(0)'.
> Just inform the readers and you, and where can I get the mistake list of the
> book in web?
>
> regards,
>
> Peter

Peter,

DeleteRow(1) is not a mistake. Notice on page 174 that the record is retrieved
into the datastore so there is one record. DeleteRow(0) would also work in
this case because there is only one row in the datastore. I don't know what
your error is but I'd be suspicious if (0) worked and (1) didn't on a
datastore with only one record.

There is no mistake list for the book because there are no mistakes! Just
kidding. There is at least one small typo earlier on that I can't remember
details for. Besides that, I've not run into any mistakes and no one else has
offered any. I'd be happy to compile a list as they're submitted...