Apache OpenOffice (AOO) Bugzilla – Issue 60739
sub-form: "Analyze SQL command" == false breaks the form
Last modified: 2017-05-20 10:44:15 UTC
If "Analyze SQL command" is set to false in a slave table control that is parent to another slave table control, the next time the form is used, the error "column out of range" occurs. Either the error message needs to be more meaningful or (better), the option to set "Analyze SQL command" to false should be disabled under these conditions.
Hi, I can reproduce this. open the attached sample database and open the form. ==>> error messages. Bye Marc
Created attachment 33367 [details] bugdoc
set target
accepting
master-slave relationships in forms require analyzing the SQL command, else OOo cannot know which parameters are in the command. Need to think about a better error message, probably.
I would say that yes, the error message needs to be improved, but that's only 1/2 the solution. The forms system should not allow the "Analyze SQL command" to be set to false if it's required for the correct operation of the form! I.e. It should be disabled if part of a master-slave relationship.
yes, this would also be a possibility. However, a clear error message saying "your master-slave relationship doesn't work because ..." would perhaps be better than silently disabling some options. In the latter case, people would not understand what's going on, would they?
That's also true. Whatever is the easiest to understand, I guess.
Reset the assignee to the default "issues@openoffice.apache.org".