If I start a different survey -- with a similar URL and similar settings as the first survey -- it will create an entry in that survey's data table where lastpage is NULL.
Double-checking the data table creation process, the lastpage column has the default set to NULL.
What survey setting am I using that is causing the one survey to insert lastpage = 0 on first survey access? I've compared the settings between the two surveys and I can't see anything remarkably different.
The administrator has disabled public write access.