Charlotte Foust
cfoust at infostatsystems.com
Mon Feb 23 10:52:43 CST 2009
That was what I meant John. Of course you wouldn't add it directly to each form. Anything like that would be added to the class wrapping the form. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, February 23, 2009 8:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Find First in an Array? - The Solution Revisited - Now Tag is the Answer Eh? To my knowledge you can add custom properties to a form, but I don't remember being able to make that a collection. Even if you could you would be faced with adding it to EVERY form, and remembering to add it every time you added a new form. That is exactly the point of a clsFrm. You add it there and be done with it. Every form that uses clsFrm automatically gets that new thing. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > So add a Tags collection to the form? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, February 22, 2009 8:11 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Find First in an Array? - The Solution > Revisited > - Now Tag is the Answer > > A tag is NOT a collection,it is a property. Too bad it isn't a > collection or it would be much more useful. > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: >> Oh no. That is not necessary Stuart. >> >> What I would do is write a little function which runs down the >> language table and populates the contol.tag on the appropriate form >> with the caption text plus a delimiter. >> >> You only have to do this ONCE and then ONLY again if you add a new >> language (having added the values to the language table). >> >> Users can switch languages at will. All that is required is to >> change > >> the global variable to the new value to point into the .tag string. >> Instantaneous resolution of the displayed text. Coding is minimal. >> Even the loading code on initial setup is only a dozen or so lines. >> >> The caption.tag is an Access provided collection so why not make use > of it. >> No data access at run time. No need to open any tables etc. >> The required caption is in the tag of the caption control, just > display it. >> But, I am not decrying your just posted routine. I think it is very > good. >> Not as good as mine though (I just had an impartial show of hands in >> the room and my solution won). Back to the pub. >> >> The more I think of it, the better this solution appears to me. >> >> >> Max >> Laugh more than cry. Smile more than frown. Be generous in spirit. > >> And always stand your round in the pub! >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart >> McLachlan >> Sent: 22 February 2009 12:46 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Find First in an Array? - The Solution >> Revisited - Now Tag is the Answer >> >> Minimal programming until you add a new language - then it's a real >> PITA - you have to edit every control on every form. >> >> :-( >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com