check for field and "field list"
Author: i2stiller@gmx.de (istiller)
Hi freaks We just switching a "few" READs from U_WHERE to U_CONDITION. Just putting a pair of quotes around the where clause and escape quation marks inside the clause. So far so good, but ... But what about the automatic field list? UnifAce will not analyse fieldname in strings, so it is not possible to check for valid names at compiletime. Even worser, the automatic field list will not be filled with the fields in need. Any idea to solve this by a simple solution? Ingo EDIT: Did I mention, that it should be save :-) A fieldname should only be typed once else it will be error-prone.

(of course, still cannot validate the field names in the u_condition - but you should have the field names available in uxfields (I believe). Then have a 'pre-scan' / 'pre-compile' under addtional_menu and pre-process the u_condition) ... And of course, as I typed the previous paragraph, maybe just have a pre-check / pre-scan and forget about the toggle 'include all fields'... fwiw, Knut



