Hi
>Upon running the form, we get the error "Base table fields have changed, remote view no longer matches base table "
Nothing wrong with the code, I guess. Just that you have changed the table structures and have forgotten to update one of more remote views with the new structure details. Open each and every view if you don't know which one has a problem, when you find one that give the same message update it as required.
Hope it helps.