[AccessD] Find First in an Array? - The Solution Revisited -Now Tag is the Answer

jwcolby jwcolby at colbyconsulting.com
Tue Feb 24 17:24:49 CST 2009


Now Drew...

Storing the world in a single value property
A limit of 2K total storage
Can be used by anybody (including some folks with no business programming)
Who knows what might be trying to read / write this single value property
Can build a replacement in minutes

 > I'm not saying that using the .Tag property would be bad.

No guts at all Drew.

8-)

John W. Colby
www.ColbyConsulting.com


Drew Wutka wrote:
> Not quite.
> 
> 1.  Need to have multiple values for a single value property for the
> controls.
> 
> 2.  There is a generic property (limited to 2048 characters, by the
> way), which can be used for anything...and can be used by anything.  But
> using it for multiple purposes gets to be very hairy!
> 
> 3.  It took me less then 30 minutes to build a completely new system
> that does the same thing, just as fast, and it is event enabled (ie,
> changing the language on the fly updates ALL visible forms (and I'm
> assuming reports...) to the new language.  Something you can't do as
> easily with the Tag.
> 
> I'm not saying that using the .Tag property would be bad.  I just think
> a class/collection method is better.
> 
> Drew
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart
> McLachlan
> Sent: Tuesday, February 24, 2009 4:27 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Find First in an Array? - The Solution Revisited
> -Now Tag is the Answer
> 
> So let me get this clear. Your argument is:
> 
> 1.  I need to store a string value for each control. 
> 
> 2.  Controls has been designed with a property specifically for this
> purpose. 
> 
> 3.  I won't use the property in case I need to use it for something else
> later on,  instead I will 
> build a complete new system which will allow me to do all sorts of neat
> things with controls 
> in case I need to in the future.  
> 
> May I refer you to Shamil's posting last Friday in this thread?
> 
> <quote>
> May I warn you about what is known as:
> "Premature Optimization"
> http://c2.com/cgi/wiki?PrematureOptimization 
> and 
> "Premature Generalization" 
> http://c2.com/cgi/wiki?PrematureGeneralizationIsEvil 
> Have a look:
> "Death by premature generalization" 
> http://ryanfarley.com/blog/archive/2004/04/30/570.aspx
> </quote>
> 



More information about the AccessD mailing list