Gustav Brock
Gustav at cactus.dk
Tue Mar 3 01:47:59 CST 2009
Hi A.D. You have a point. However, I really think the =MyFunction() construction is a left-over from Access 1.x which didn't feature code behind forms. Two reasons for this: 1. It is nearly impossible to locate the controls where MyFunction is used without extensive manual search or using a third-party search utility. 2. Errors in MyFunction cannot be caught. /gustav >>> adtp at airtelmail.in 03-03-2009 06:26 >>> John, If a single class covering all controls (complete with events) were to be devised, could there be any reason not to prefer it over a host of classes control-wise ? While assigning "[Event Procedure]" to various events, it seems desirable to make it conditional to the event not already having been assigned some function (e.g. =MyFunction()) as otherwise the latter stands suppressed. Best wishes, A.D. Tejpal ------------