< SNIP >
Without looking at it closely, is it possible your form uses a private datasession, and the environment SETs are not the same as in your dev environment? (SET EXCLUSIVE, SET SAFETY, etc.) You can look at the help for SET DATASESSION to see the settings scoped to the datasession.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up