fix for Issue 1692 virtual fields in forms

fix for Issue 1692 virtual fields in forms: this gets rid of the virtual field names from the SQL and at least in a simple test case shows the virtual field on the grid.