It looks to me like the authors actually do mention what the problem is, but you have to really read carefully to see it.
In Chapter 8 ("Debugging Database Applications"), p. 135, they talk about how the database is copied when the application is compiled. BuBut they say that the default copy mode is to copy only if the source is newer than the output directory. But, at least in my copy of VisualStudio(I have the Pro version, not
VB Express), the default is "copy always". Since the output directory is where the modified DB is saved when you click the "Save" button, when you recompile, that modified DB is overwritten by the original source copy. So you don't see the changes after you app is recompiled. This is essentially what was said in the other posting that was mentioned.
When I changed the "copy to output directory" option to "copy if newer", the try it out worked. It certainly wasn't clear. There seems to be a lot of problems like this in the book, which makes it pretty hard to run their examples.
One other thing I found. After seeing the other post, and being a little confused when their fix didn't work, I opended windows explorer to see what DB was being changed and when. That's when I saw that the DB in the debug directory was being saved, but then was reverted back to the DB in the source directory (you can see what the source directory is by looking at the "full path" property in the
VB property window. Another thing I saw was that the output DB didn't save when I clicked the save button, but instead was saved when I Closed the app.
Chuck Gantz