>Is there a utility or a relatively simple way to convert a graphically created data environment from a form and convert it to code? I have a very complex form that has completely lost it's data environment. I have backups but I can't just cut/paste the data environment.
Check FAQ #7978, may just do what you need. You'd need the backed up form to copy the DE from.